diff --git a/deploy/templates/migration-job.yaml b/deploy/templates/migration-job.yaml index c0db104..a42826f 100644 --- a/deploy/templates/migration-job.yaml +++ b/deploy/templates/migration-job.yaml @@ -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 }}"