allow tpl for postgresql secret
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user