allow tpl for postgresql secret

This commit is contained in:
kjeld Schouten-Lebbing
2021-08-27 16:50:19 +02:00
parent 8de6694df9
commit 1c5b41539f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: auto
dependencies: dependencies:
- name: common - name: common
repository: https://truecharts.org/ repository: https://truecharts.org/
version: 6.9.2 version: 6.10.3
deprecated: false deprecated: false
description: PostgresSQL description: PostgresSQL
home: https://github.com/truecharts/apps/tree/master/stable/postgres home: https://github.com/truecharts/apps/tree/master/stable/postgres
@@ -25,4 +25,4 @@ name: postgresql
sources: sources:
- https://www.postgresql.org/ - https://www.postgresql.org/
type: application type: application
version: 1.1.3 version: 1.2.0
+2 -2
View File
@@ -34,13 +34,13 @@ persistence:
postgresqlPassword: "testpass" postgresqlPassword: "testpass"
postgresqlUsername: "test" postgresqlUsername: "test"
postgresqlDatabase: "test" postgresqlDatabase: "test"
# existingSecret: "" existingSecret: ""
envValueFrom: envValueFrom:
POSTGRES_PASSWORD: POSTGRES_PASSWORD:
secretKeyRef: secretKeyRef:
name: '{{ .Values.existingSecret | default ( include "common.names.fullname" . ) }}' name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
key: "postgresql-password" key: "postgresql-password"
envTpl: envTpl: