diff --git a/charts/flyte-core/README.md b/charts/flyte-core/README.md index d7aa0b450b..1322a1fa3a 100644 --- a/charts/flyte-core/README.md +++ b/charts/flyte-core/README.md @@ -196,6 +196,7 @@ helm install gateway bitnami/contour -n flyte | flyteconsole.image.pullPolicy | string | `"IfNotPresent"` | | | flyteconsole.image.repository | string | `"cr.flyte.org/flyteorg/flyteconsole"` | Docker image for Flyteconsole deployment | | flyteconsole.image.tag | string | `"v1.10.2"` | | +| flyteconsole.imagePullSecrets | list | `[]` | ImagePullSecrets to assign to the Flyteconsole deployment | | flyteconsole.nodeSelector | object | `{}` | nodeSelector for Flyteconsole deployment | | flyteconsole.podAnnotations | object | `{}` | Annotations for Flyteconsole pods | | flyteconsole.podEnv | object | `{}` | Additional Flyteconsole container environment variables | diff --git a/charts/flyte-core/templates/console/deployment.yaml b/charts/flyte-core/templates/console/deployment.yaml index 09c9e741c8..9ba1fc88ac 100644 --- a/charts/flyte-core/templates/console/deployment.yaml +++ b/charts/flyte-core/templates/console/deployment.yaml @@ -18,6 +18,10 @@ spec: {{- end }} labels: {{ include "flyteconsole.podLabels" . | nindent 8 }} spec: + {{- with .Values.flyteconsole.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} securityContext: runAsUser: 1000 fsGroupChangePolicy: "OnRootMismatch" diff --git a/charts/flyte-core/templates/propeller/webhook.yaml b/charts/flyte-core/templates/propeller/webhook.yaml index 0045fc4aab..6d1ee7296b 100644 --- a/charts/flyte-core/templates/propeller/webhook.yaml +++ b/charts/flyte-core/templates/propeller/webhook.yaml @@ -157,6 +157,9 @@ metadata: annotations: {{ tpl (toYaml .) $ | nindent 4 }} {{- end}} {{- end }} + {{- with .Values.webhook.serviceAccount.imagePullSecrets }} +imagePullSecrets: {{ tpl (toYaml .) $ | nindent 2 }} + {{- end }} --- # Create a binding from Role -> ServiceAccount kind: ClusterRoleBinding diff --git a/charts/flyte-core/values.yaml b/charts/flyte-core/values.yaml index 8c2c1dff19..a7367052fe 100755 --- a/charts/flyte-core/values.yaml +++ b/charts/flyte-core/values.yaml @@ -374,6 +374,8 @@ flyteconsole: tracking_id: "G-0QW4DJWJ20" # -- Sets priorityClassName for flyte console pod(s). priorityClassName: "" + # -- ImagePullSecrets to assign to the Flyteconsole deployment + imagePullSecrets: [] # It will enable the redoc route in ingress deployRedoc: false