From fc03fdfb09230b89e053991c3383325fb1242ae7 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 20 Aug 2023 19:34:37 +0200 Subject: [PATCH] Parse environment variables through tpl --- helm/template/Chart.yaml | 2 +- helm/template/templates/_deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index 96679e3..f1dbef7 100644 --- a/helm/template/Chart.yaml +++ b/helm/template/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: template description: A Helm library chart containing common templates, keeping application templates short type: library -version: 0.1.3 +version: 0.1.4 maintainers: - name: Jim Martens url: https://2martens.de diff --git a/helm/template/templates/_deployment.yaml b/helm/template/templates/_deployment.yaml index 71bdab6..08a04c7 100644 --- a/helm/template/templates/_deployment.yaml +++ b/helm/template/templates/_deployment.yaml @@ -47,7 +47,7 @@ spec: {{- end}} {{- range .Values.environment }} - name: {{ .name }} - value: {{ .value | quote }} + value: {{ tpl (quote .value) $ }} {{- end }} ports: - name: http