diff --git a/bitnami/postgresql/Chart.yaml b/bitnami/postgresql/Chart.yaml index b8db8c7c53..05871d4d6b 100644 --- a/bitnami/postgresql/Chart.yaml +++ b/bitnami/postgresql/Chart.yaml @@ -35,4 +35,4 @@ maintainers: name: postgresql sources: - https://github.com/bitnami/charts/tree/main/bitnami/postgresql -version: 12.12.9 +version: 12.12.10 diff --git a/bitnami/postgresql/templates/backup/cronjob.yaml b/bitnami/postgresql/templates/backup/cronjob.yaml index 37b4bd0ceb..72d1bf2001 100644 --- a/bitnami/postgresql/templates/backup/cronjob.yaml +++ b/bitnami/postgresql/templates/backup/cronjob.yaml @@ -66,7 +66,7 @@ spec: - name: PGHOST value: {{ include "postgresql.v1.primary.fullname" . }} - name: PGPORT - value: {{ .Values.containerPorts.postgresql | quote }} + value: {{ include "postgresql.v1.service.port" . | quote }} - name: PGDUMP_DIR value: {{ .Values.backup.cronjob.storage.mountPath }} {{- if .Values.tls.enabled }}