diff --git a/charts/sn-platform-slim/templates/toolset/jwt-secret-init-job.yaml b/charts/sn-platform-slim/templates/toolset/jwt-secret-init-job.yaml index 74ed5189..4a66b68e 100644 --- a/charts/sn-platform-slim/templates/toolset/jwt-secret-init-job.yaml +++ b/charts/sn-platform-slim/templates/toolset/jwt-secret-init-job.yaml @@ -45,6 +45,10 @@ spec: {{ toYaml .Values.toolset.annotations | indent 8 }} {{- end }} spec: + {{- if .Values.global.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.global.imagePullSecrets | indent 8 }} + {{- end }} serviceAccountName: {{ template "pulsar.fullname" . }}-jwt-secret-init-acct volumes: - name: {{ template "pulsar.fullname" . }}-jwt-secret-init-config diff --git a/charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml b/charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml index 48a8b4cc..a9930756 100644 --- a/charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml +++ b/charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml @@ -45,6 +45,10 @@ spec: {{ toYaml .Values.toolset.annotations | indent 8 }} {{- end }} spec: + {{- if .Values.global.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.global.imagePullSecrets | indent 8 }} + {{- end }} serviceAccountName: {{ template "pulsar.fullname" . }}-jwt-secret-init-acct volumes: - name: {{ template "pulsar.fullname" . }}-jwt-secret-init-config