From 35be9a454be3526fd910cb29336afe4f946e8f53 Mon Sep 17 00:00:00 2001 From: Ihar Filimonau Date: Tue, 30 Jan 2024 15:00:50 +0200 Subject: [PATCH] apply tpl function for secretKeyRef section of envSecret vars (#85) Co-authored-by: Ihar Filimonau --- charts/centrifugo/Chart.yaml | 2 +- charts/centrifugo/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/centrifugo/Chart.yaml b/charts/centrifugo/Chart.yaml index 641891c..82bec60 100644 --- a/charts/centrifugo/Chart.yaml +++ b/charts/centrifugo/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: centrifugo description: Centrifugo is a scalable real-time messaging server in language-agnostic way -version: 11.5.0 +version: 11.6.0 appVersion: 5.2.2 home: https://centrifugal.dev icon: https://centrifugal.dev/img/favicon.png diff --git a/charts/centrifugo/templates/deployment.yaml b/charts/centrifugo/templates/deployment.yaml index 0012442..b94c15b 100644 --- a/charts/centrifugo/templates/deployment.yaml +++ b/charts/centrifugo/templates/deployment.yaml @@ -145,7 +145,7 @@ spec: - name: {{ .name }} valueFrom: secretKeyRef: - {{- toYaml .secretKeyRef | nindent 18 }} + {{- tpl (toYaml .secretKeyRef) $ | nindent 18 }} {{- end }} {{- range $key, $value := .Values.env }} - name: {{ $key }}