From e97ee512c40ffa32b10936d977a7c90c095ebb30 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Wed, 13 May 2020 07:23:25 -0500 Subject: [PATCH] fix(tpl): correct a rendering issue The mariadb statefulset template, while renders properly in helm2, does not render in helm3. An extra "-" gobbles up a needed newline causing an error when you run "helm template mariadb". Change-Id: Idc1bee8e94c209a485ff2453ba2531dcddb63fc8 Signed-off-by: Tin Lam --- mariadb/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb/templates/statefulset.yaml b/mariadb/templates/statefulset.yaml index 1ef016d18..71eceec0a 100644 --- a/mariadb/templates/statefulset.yaml +++ b/mariadb/templates/statefulset.yaml @@ -185,7 +185,7 @@ spec: exec: command: - /tmp/stop.sh -{{ dict "envAll" . "component" "server" "container" "mariadb" "type" "readiness" "probeTemplate" (include "mariadbReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 -}} +{{ dict "envAll" . "component" "server" "container" "mariadb" "type" "readiness" "probeTemplate" (include "mariadbReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} volumeMounts: - name: pod-tmp mountPath: /tmp