diff --git a/deploy/chart/wsj-standup/templates/job.yaml b/deploy/chart/wsj-standup/templates/job.yaml index 17ba4e4..45b7670 100644 --- a/deploy/chart/wsj-standup/templates/job.yaml +++ b/deploy/chart/wsj-standup/templates/job.yaml @@ -11,7 +11,7 @@ spec: ttlSecondsAfterFinished: 300 template: spec: - {{- with .Values.image.pullSecretBase64 }} + {{- if .Values.image.pullSecretBase64 }} imagePullSecrets: - name: {{ include "wsj-standup.fullname" . }}-registry-credentials {{- end }}