diff --git a/charts/flyte-core/README.md b/charts/flyte-core/README.md index b425a44084..a8834849d5 100644 --- a/charts/flyte-core/README.md +++ b/charts/flyte-core/README.md @@ -130,6 +130,7 @@ helm install gateway bitnami/contour -n flyte | db.datacatalog.database.username | string | `"postgres"` | | | deployRedoc | bool | `false` | | | external_events | object | `{"aws":{"region":"us-east-2"},"enable":false,"eventsPublisher":{"eventTypes":["all"],"topicName":"arn:aws:sns:us-east-2:123456:123-my-topic"},"type":"aws"}` | **Optional Component** External events are used to send events (unprocessed, as Admin see them) to an SNS topic (or gcp equivalent) The config is here as an example only - if not enabled, it won't be used. | +| flyteadmin.additionalContainers | object | `{}` | Appends additional containers to the containers list. May include template values. | | flyteadmin.additionalVolumeMounts | list | `[]` | | | flyteadmin.additionalVolumes | list | `[]` | | | flyteadmin.affinity | object | `{}` | affinity for Flyteadmin deployment | diff --git a/charts/flyte-core/templates/admin/deployment.yaml b/charts/flyte-core/templates/admin/deployment.yaml index f6a81dff45..7192a05ef2 100755 --- a/charts/flyte-core/templates/admin/deployment.yaml +++ b/charts/flyte-core/templates/admin/deployment.yaml @@ -133,6 +133,9 @@ spec: {{- with .Values.flyteadmin.additionalVolumeMounts -}} {{ tpl (toYaml .) $ | nindent 8 }} {{- end }} + {{- with .Values.flyteadmin.additionalContainers -}} + {{- tpl (toYaml .) $ | nindent 6}} + {{- end }} serviceAccountName: {{ template "flyteadmin.name" . }} volumes: {{- include "databaseSecret.volume" . | nindent 8 }} - emptyDir: {} diff --git a/charts/flyte-core/values.yaml b/charts/flyte-core/values.yaml index f376765c1d..8bf38e188c 100755 --- a/charts/flyte-core/values.yaml +++ b/charts/flyte-core/values.yaml @@ -77,6 +77,8 @@ flyteadmin: secrets: {} additionalVolumes: [] additionalVolumeMounts: [] + # -- Appends additional containers to the containers list. May include template values. + additionalContainers: {} # -- Appends extra command line arguments to the serve command extraArgs: {} # -- Sets priorityClassName for flyteadmin pod(s).