feat(postgresql): also set and remember postgresql root password
This commit is contained in:
@@ -22,7 +22,7 @@ name: postgresql
|
||||
sources:
|
||||
- https://www.postgresql.org/
|
||||
type: application
|
||||
version: 5.1.13
|
||||
version: 5.1.14
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- database
|
||||
|
||||
@@ -32,6 +32,7 @@ persistence:
|
||||
postgresqlPassword: "testpass"
|
||||
postgresqlUsername: "test"
|
||||
postgresqlDatabase: "test"
|
||||
postgrespassword: "testroot"
|
||||
existingSecret: ""
|
||||
|
||||
envValueFrom:
|
||||
@@ -39,6 +40,10 @@ envValueFrom:
|
||||
secretKeyRef:
|
||||
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
|
||||
key: "postgresql-password"
|
||||
POSTGRESQL_POSTGRES_PASSWORD:
|
||||
secretKeyRef:
|
||||
name: '{{ ( tpl .Values.existingSecret $ ) | default ( include "common.names.fullname" . ) }}'
|
||||
key: "postgresql-postgres-password"
|
||||
|
||||
envTpl:
|
||||
POSTGRES_USER: "{{ .Values.postgresqlUsername }}"
|
||||
|
||||
Reference in New Issue
Block a user