From c596841258c62d96bc1f9c73d67daf2f4255d7bf Mon Sep 17 00:00:00 2001 From: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:36:48 +0100 Subject: [PATCH] Add templating to env secretName (#120) Signed-off-by: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> --- charts/gxf/Chart.yaml | 2 +- charts/gxf/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/gxf/Chart.yaml b/charts/gxf/Chart.yaml index 81fddcf..4ded4d6 100644 --- a/charts/gxf/Chart.yaml +++ b/charts/gxf/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: gxf description: Generic GXF Helm chart -version: '1.5.33' +version: '1.5.34' icon: https://artwork.lfenergy.org/projects/grid-exchange-fabric/abbrev/color/grid-exchange-fabric-abbrev-color.png maintainers: - name: OSGP diff --git a/charts/gxf/templates/deployment.yaml b/charts/gxf/templates/deployment.yaml index 0861143..64b6a7d 100644 --- a/charts/gxf/templates/deployment.yaml +++ b/charts/gxf/templates/deployment.yaml @@ -64,7 +64,7 @@ spec: - name: {{ $key }} valueFrom: secretKeyRef: - name: {{ $value.secretName }} + name: {{ tpl $value.secretName . }} key: {{ $value.secretKey }} {{- end }} ports: