diff --git a/bitnami/zookeeper/templates/_helpers.tpl b/bitnami/zookeeper/templates/_helpers.tpl index d7c096d252..e993110c68 100644 --- a/bitnami/zookeeper/templates/_helpers.tpl +++ b/bitnami/zookeeper/templates/_helpers.tpl @@ -67,8 +67,7 @@ Also, we can not use a single if because lazy evaluation is not an option {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: -{{- range -.Values.global.imagePullSecrets }} +{{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if or .Values.image.pullSecrets .Values.metrics.image.pullSecrets }} @@ -89,4 +88,4 @@ imagePullSecrets: - name: {{ . }} {{- end }} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}}