argo-cd: fix imagePullSecrets condition

This commit is contained in:
AntoineDao 2019-10-22 16:14:54 +10:00
parent a03e84c99a
commit 86dff9a495

View file

@ -63,7 +63,7 @@ spec:
initContainers: initContainers:
{{ toYaml .Values.repoServer.initContainers | nindent 6 | trim }} {{ toYaml .Values.repoServer.initContainers | nindent 6 | trim }}
{{- end }} {{- end }}
{{- if .Values.repoServer.initContainers }} {{- if .Values.repoServer.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{ toYaml .Values.repoServer.imagePullSecrets | nindent 6 | trim }} {{ toYaml .Values.repoServer.imagePullSecrets | nindent 6 | trim }}
{{- end }} {{- end }}