Skip to content

Commit e83a159

Browse files
fix password init
1 parent a578f89 commit e83a159

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/postgresql/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: postgresql
33
description: PostgreSQL object-relational database system
44
type: application
5-
version: 1.1.3
5+
version: 1.1.4
66
appVersion: "16.0"
77
home: https://www.postgresql.org/
88
sources:

charts/postgresql/templates/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
env:
3838
- name: PGDATA
3939
value: "/var/lib/postgresql/data/pgdata"
40-
{{- if .Values.auth.postgresPassword }}
40+
{{- if or .Values.auth.postgresPassword .Values.auth.existingSecret }}
4141
- name: POSTGRES_PASSWORD
4242
valueFrom:
4343
secretKeyRef:

0 commit comments

Comments
 (0)