From 5261a1fa7833e0d4ab4cb42ce4d0a5c8f42d5a03 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Hernandez Date: Mon, 11 Mar 2019 18:50:05 +0000 Subject: [PATCH] Fix typo in helpers Signed-off-by: Carlos Rodriguez Hernandez --- bitnami/elasticsearch/templates/_helpers.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bitnami/elasticsearch/templates/_helpers.tpl b/bitnami/elasticsearch/templates/_helpers.tpl index 8d60667eca..ee9f425553 100644 --- a/bitnami/elasticsearch/templates/_helpers.tpl +++ b/bitnami/elasticsearch/templates/_helpers.tpl @@ -129,8 +129,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 }} @@ -151,4 +150,4 @@ imagePullSecrets: - name: {{ . }} {{- end }} {{- end -}} -{{- end -}} \ No newline at end of file +{{- end -}}