File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## 16.4.6 (2025-02-02 )
3
+ ## 16.4.7 (2025-02-09 )
4
4
5
- * [ bitnami/postgresql] Release 16.4.6 ([ #31702 ] ( https://github.com/bitnami/charts/pull/31702 ) )
5
+ * [ bitnami/postgresql] use adminPassword for metrics user when custom user is not set on primary ([ #31840 ] ( https://github.com/bitnami/charts/pull/31840 ) )
6
+
7
+ ## <small >16.4.6 (2025-02-03)</small >
8
+
9
+ * [ bitnami/postgresql] Release 16.4.6 (#31702 ) ([ 0a0a5d3] ( https://github.com/bitnami/charts/commit/0a0a5d33825e523f8fa780bdec97b685fd74d0e3 ) ), closes [ #31702 ] ( https://github.com/bitnami/charts/issues/31702 )
10
+ * Update copyright year (#31682 ) ([ e9f02f5] ( https://github.com/bitnami/charts/commit/e9f02f5007068751f7eb2270fece811e685c99b6 ) ), closes [ #31682 ] ( https://github.com/bitnami/charts/issues/31682 )
6
11
7
12
## <small >16.4.5 (2025-01-20)</small >
8
13
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ maintainers:
35
35
name : postgresql
36
36
sources :
37
37
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
38
- version : 16.4.6
38
+ version : 16.4.7
Original file line number Diff line number Diff line change @@ -539,16 +539,16 @@ spec:
539
539
value : {{ printf "127.0.0.1:%d/postgres?sslmode=disable" (int (include "postgresql.v1.service.port" .)) }}
540
540
{{- if .Values.auth.usePasswordFiles }}
541
541
- name : DATA_SOURCE_PASS_FILE
542
- value : {{ printf "/opt/bitnami/postgresql/secrets/%s" (include "postgresql.v1.adminPasswordKey" .) }}
542
+ value : {{ printf "/opt/bitnami/postgresql/secrets/%s" (include (ternary "postgresql.v1.adminPasswordKey" "postgresql.v1.userPasswordKey" (empty $customUser)) .) }}
543
543
{{- else }}
544
544
- name : DATA_SOURCE_PASS
545
545
valueFrom :
546
546
secretKeyRef :
547
547
name : {{ include "postgresql.v1.secretName" . }}
548
- key : {{ include "postgresql.v1.adminPasswordKey" . }}
548
+ key : {{ include (ternary "postgresql.v1.adminPasswordKey" "postgresql.v1.userPasswordKey" (empty $customUser)) . }}
549
549
{{- end }}
550
550
- name : DATA_SOURCE_USER
551
- value : " postgres"
551
+ value : {{ default "postgres" $customUser | quote }}
552
552
{{- if .Values.metrics.extraEnvVars }}
553
553
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.extraEnvVars "context" $) | nindent 12 }}
554
554
{{- end }}
You can’t perform that action at this time.
0 commit comments