From e48c3e520f7e7153a15fc25510e38ba6007fd7de Mon Sep 17 00:00:00 2001 From: David Hotham Date: Sun, 18 Jul 2021 14:20:27 +0100 Subject: [PATCH] Fix quoting of password etc in helm-operator chart Values in the generated repositories.yaml are now correctly quoted --- chart/helm-operator/templates/_helpers.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/helm-operator/templates/_helpers.tpl b/chart/helm-operator/templates/_helpers.tpl index f5f153c2e..c554ba51a 100644 --- a/chart/helm-operator/templates/_helpers.tpl +++ b/chart/helm-operator/templates/_helpers.tpl @@ -64,11 +64,11 @@ repositories: - name: {{ required "Please specify a name for the Helm repo" .name }} url: {{ required "Please specify a URL for the Helm repo" .url }} cache: /var/fluxd/helm/repository/cache/{{ .name }}-index.yaml - caFile: "{{ .caFile | default "" }}" - certFile: "{{ .certFile | default "" }}" - keyFile: "{{ .keyFile | default "" }}" - password: "{{ .password | default "" }}" - username: "{{ .username | default "" }}" + caFile: {{ .caFile | default "" | quote }} + certFile: {{ .certFile | default "" | quote }} + keyFile: {{ .keyFile | default "" | quote }} + password: {{ .password | default "" | quote }} + username: {{ .username | default "" | quote }} {{- end }} {{- end -}}