Skip to content

Commit

Permalink
fix: Add imagePullSecrets to other kratos elements (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere committed Nov 19, 2021
1 parent e0f2468 commit 12df183
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/charts/kratos/templates/job-migration.yaml
Expand Up @@ -24,6 +24,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
containers:
- name: {{ .Chart.Name }}-automigrate
Expand Down
4 changes: 4 additions & 0 deletions helm/charts/kratos/templates/statefulset-mail.yaml
Expand Up @@ -28,6 +28,10 @@ spec:
app.kubernetes.io/name: {{ include "kratos.fullname" . }}-courier
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ include "kratos.fullname" . }}-courier
image: {{ include "kratos.image" . }}
Expand Down

0 comments on commit 12df183

Please sign in to comment.