From 61e77bc38f1a00cdaa34572cb8da2abbe74a71cf Mon Sep 17 00:00:00 2001 From: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:14:09 +0100 Subject: [PATCH] Add tpl function Signed-off-by: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> --- charts/gxf/templates/serviceaccount.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/gxf/templates/serviceaccount.yaml b/charts/gxf/templates/serviceaccount.yaml index e2e0111..b8532ee 100644 --- a/charts/gxf/templates/serviceaccount.yaml +++ b/charts/gxf/templates/serviceaccount.yaml @@ -10,10 +10,10 @@ metadata: release: "{{ .Release.Name }}" heritage: "{{ .Release.Service }}" {{- with .Values.serviceAccount.labels }} - {{- toYaml . | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} annotations: {{- with .Values.serviceAccount.annotations }} - {{- toYaml . | nindent 4 }} + {{- tpl (toYaml .) $ | nindent 4 }} {{- end }} {{- end }}