From 1c5b41539f25916b2649d681282b0589a493ee8a Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Fri, 27 Aug 2021 16:50:19 +0200 Subject: [PATCH] allow tpl for postgresql secret --- charts/stable/postgresql/Chart.yaml | 4 ++-- charts/stable/postgresql/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/stable/postgresql/Chart.yaml b/charts/stable/postgresql/Chart.yaml index b386f387a61..0f02deea20c 100644 --- a/charts/stable/postgresql/Chart.yaml +++ b/charts/stable/postgresql/Chart.yaml @@ -3,7 +3,7 @@ appVersion: auto dependencies: - name: common repository: https://truecharts.org/ - version: 6.9.2 + version: 6.10.3 deprecated: false description: PostgresSQL home: https://github.com/truecharts/apps/tree/master/stable/postgres @@ -25,4 +25,4 @@ name: postgresql sources: - https://www.postgresql.org/ type: application -version: 1.1.3 +version: 1.2.0 diff --git a/charts/stable/postgresql/values.yaml b/charts/stable/postgresql/values.yaml index 8f3cb2320ee..d4da044db4c 100644 --- a/charts/stable/postgresql/values.yaml +++ b/charts/stable/postgresql/values.yaml @@ -34,13 +34,13 @@ persistence: postgresqlPassword: "testpass" postgresqlUsername: "test" postgresqlDatabase: "test" -# existingSecret: "" +existingSecret: "" envValueFrom: POSTGRES_PASSWORD: secretKeyRef: - name: '{{ .Values.existingSecret | default ( include "common.names.fullname" . ) }}' + name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}' key: "postgresql-password" envTpl: