Skip to content

Commit

Permalink
Add imagePullSecrets in jwt init job
Browse files Browse the repository at this point in the history
  • Loading branch information
ciiiii committed Nov 6, 2023
1 parent 775a6e4 commit 06f64a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions charts/sn-platform/templates/toolset/jwt-secret-init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06f64a8

Please sign in to comment.