feat(deploy): add imagePullSecret to migrations job
This commit is contained in:
parent
31a2fa9c9d
commit
70ef8933a9
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ spec:
|
|||
app.kubernetes.io/component: "database-migrations"
|
||||
batch.kubernetes.io/job-name: {{ .Release.Name }}-migrations-{{ now | unixEpoch }}
|
||||
spec:
|
||||
{{- with .Values.migrations.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: migrations
|
||||
image: "{{ .Values.migrations.image.repository }}:{{ .Values.migrations.image.tag }}"
|
||||
|
|
|
|||
Reference in a new issue