From 9cf0ed626455eddbcde03ce6df041d264bc08a41 Mon Sep 17 00:00:00 2001 From: tectux Date: Sun, 6 Oct 2024 21:58:42 +0000 Subject: [PATCH] fix configmap tpl --- conduit/templates/wellknown/configmap.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/conduit/templates/wellknown/configmap.yaml b/conduit/templates/wellknown/configmap.yaml index 93d96e4..d902f1e 100644 --- a/conduit/templates/wellknown/configmap.yaml +++ b/conduit/templates/wellknown/configmap.yaml @@ -6,8 +6,7 @@ metadata: labels: {{- include "conduit.labels" . | nindent 4 }} data: - default.conf: | - {{- with .Values.wellknown}} - {{ tpl .nginxServerConf . | quote | indent 4 }} - {{- end }} + {{- with .Values.wellknown}} + default.conf: {{ tpl .nginxServerConf . | toYaml | nindent 4 }} + {{- end }} {{- end }}