From 648669b3023be8987a14dd2ac67c6d8b57a53fc2 Mon Sep 17 00:00:00 2001 From: AnatomicJC Date: Thu, 8 Jul 2021 22:55:58 +0200 Subject: [PATCH] fix(helm): Use yaml goTemplate for secrets (#751) Co-authored-by: Jean-Christophe Vassort --- helm/akhq/templates/secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/akhq/templates/secret.yaml b/helm/akhq/templates/secret.yaml index b9afdc48d..77ac50c1e 100644 --- a/helm/akhq/templates/secret.yaml +++ b/helm/akhq/templates/secret.yaml @@ -10,7 +10,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} type: Opaque data: - application-secrets.yml: {{.Values.secrets| b64enc | quote }} + application-secrets.yml: {{ toYaml .Values.secrets | b64enc | quote }} {{- if .Values.kafkaSecrets }} {{- range $key, $value := .Values.kafkaSecrets }} {{ $key }}: {{ $value | quote }}