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