diff --git a/charts/flyte-core/README.md b/charts/flyte-core/README.md index 66210a11a4..b2821bdef4 100644 --- a/charts/flyte-core/README.md +++ b/charts/flyte-core/README.md @@ -106,6 +106,8 @@ helm install gateway bitnami/contour -n flyte | datacatalog.serviceAccount.imagePullSecrets | object | `{}` | ImapgePullSecrets to automatically assign to the service account | | datacatalog.tolerations | list | `[]` | tolerations for Datacatalog deployment | | db.database.host | string | `"postgres"` | username: postgres | +| flyteadmin.additionalVolumeMounts | object | `{}` | | +| flyteadmin.additionalVolumes | object | `{}` | | | flyteadmin.affinity | object | `{}` | affinity for Flyteadmin deployment | | flyteadmin.configPath | string | `"/etc/flyte/config/*.yaml"` | Default regex string for searching configuration files | | flyteadmin.image.pullPolicy | string | `"IfNotPresent"` | | diff --git a/charts/flyte-core/templates/admin/deployment.yaml b/charts/flyte-core/templates/admin/deployment.yaml index 9ed26ce7c5..6931f12d68 100755 --- a/charts/flyte-core/templates/admin/deployment.yaml +++ b/charts/flyte-core/templates/admin/deployment.yaml @@ -110,6 +110,9 @@ spec: name: config-volume - name: auth mountPath: /etc/secrets/ + {{- with .Values.flyteadmin.additionalVolumeMounts -}} + {{ toYaml . | nindent 8 }} + {{- end }} - command: - sh - -c @@ -145,6 +148,9 @@ spec: - name: auth secret: secretName: flyte-admin-secrets + {{- with .Values.flyteadmin.additionalVolumes -}} + {{ toYaml . | nindent 8 }} + {{- end }} {{- with .Values.flyteadmin.nodeSelector }} nodeSelector: {{ toYaml . | nindent 8 }} {{- end }} diff --git a/charts/flyte-core/values.yaml b/charts/flyte-core/values.yaml index 0b0ea66165..f7e530a436 100755 --- a/charts/flyte-core/values.yaml +++ b/charts/flyte-core/values.yaml @@ -58,6 +58,8 @@ flyteadmin: # -- affinity for Flyteadmin deployment affinity: {} secrets: {} + additionalVolumes: {} + additionalVolumeMounts: {} # # DATACATALOG SETTINGS diff --git a/charts/flyte/README.md b/charts/flyte/README.md index fc95e7d517..6fb04cef94 100644 --- a/charts/flyte/README.md +++ b/charts/flyte/README.md @@ -131,6 +131,8 @@ helm install gateway bitnami/contour -n flyte | datacatalog.serviceAccount.imagePullSecrets | object | `{}` | ImapgePullSecrets to automatically assign to the service account | | datacatalog.tolerations | list | `[]` | tolerations for Datacatalog deployment | | db.database.host | string | `"postgres"` | username: postgres | +| flyteadmin.additionalVolumeMounts | object | `{}` | | +| flyteadmin.additionalVolumes | object | `{}` | | | flyteadmin.affinity | object | `{}` | affinity for Flyteadmin deployment | | flyteadmin.configPath | string | `"/etc/flyte/config/*.yaml"` | Default regex string for searching configuration files | | flyteadmin.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy | diff --git a/charts/flyte/templates/admin/deployment.yaml b/charts/flyte/templates/admin/deployment.yaml index 9ed26ce7c5..6931f12d68 100755 --- a/charts/flyte/templates/admin/deployment.yaml +++ b/charts/flyte/templates/admin/deployment.yaml @@ -110,6 +110,9 @@ spec: name: config-volume - name: auth mountPath: /etc/secrets/ + {{- with .Values.flyteadmin.additionalVolumeMounts -}} + {{ toYaml . | nindent 8 }} + {{- end }} - command: - sh - -c @@ -145,6 +148,9 @@ spec: - name: auth secret: secretName: flyte-admin-secrets + {{- with .Values.flyteadmin.additionalVolumes -}} + {{ toYaml . | nindent 8 }} + {{- end }} {{- with .Values.flyteadmin.nodeSelector }} nodeSelector: {{ toYaml . | nindent 8 }} {{- end }} diff --git a/charts/flyte/values.yaml b/charts/flyte/values.yaml index 323d09fab4..f385d35199 100755 --- a/charts/flyte/values.yaml +++ b/charts/flyte/values.yaml @@ -59,6 +59,8 @@ flyteadmin: # -- affinity for Flyteadmin deployment affinity: {} secrets: {} + additionalVolumes: {} + additionalVolumeMounts: {} # # DATACATALOG SETTINGS