From e854f02dfc99d474c994b670b8781f1c27ec5660 Mon Sep 17 00:00:00 2001 From: Tomislav Plavcic Date: Fri, 30 Aug 2024 09:42:50 +0200 Subject: [PATCH] K8SPSMDB-1142 - Make secrets templatable in values.yaml file --- charts/psmdb-db/Chart.yaml | 2 +- charts/psmdb-db/templates/cluster.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/psmdb-db/Chart.yaml b/charts/psmdb-db/Chart.yaml index 15da6b11..d69073cb 100644 --- a/charts/psmdb-db/Chart.yaml +++ b/charts/psmdb-db/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "1.16.2" description: A Helm chart for installing Percona Server MongoDB Cluster Databases using the PSMDB Operator. name: psmdb-db home: https://www.percona.com/doc/kubernetes-operator-for-psmongodb/index.html -version: 1.16.3 +version: 1.16.4 maintainers: - name: tplavcic email: tomislav.plavcic@percona.com diff --git a/charts/psmdb-db/templates/cluster.yaml b/charts/psmdb-db/templates/cluster.yaml index db93beb0..d38a37e6 100644 --- a/charts/psmdb-db/templates/cluster.yaml +++ b/charts/psmdb-db/templates/cluster.yaml @@ -60,7 +60,7 @@ spec: {{- end }} {{- if .Values.secrets }} secrets: -{{ .Values.secrets | toYaml | indent 4 }} +{{ tpl (.Values.secrets | toYaml) . | indent 4 }} {{- else }} secrets: users: {{ include "psmdb-database.fullname" . }}-secrets