From f018611efb6da6b21e7c234332f3c4a750e84ba3 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Thu, 19 May 2022 15:34:57 +0200 Subject: [PATCH] fix(chart): replace with with if --- deploy/chart/wsj-standup/templates/job.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}