diff --git a/chart/templates/create-user-job.yaml b/chart/templates/create-user-job.yaml index f21d4b4d55136..b8133bb76df33 100644 --- a/chart/templates/create-user-job.yaml +++ b/chart/templates/create-user-job.yaml @@ -50,6 +50,10 @@ spec: {{ toYaml .Values.affinity | indent 8 }} tolerations: {{ toYaml .Values.tolerations | indent 8 }} + {{- if or .Values.registry.secretName .Values.registry.connection }} + imagePullSecrets: + - name: {{ template "registry_secret" . }} + {{- end }} containers: - name: create-user image: {{ template "airflow_image" . }}