From badf3187075567e9a94192d1e5f3ad7cdb58a528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6ran=20P=C3=B6hner?= <10630407+groundhog2k@users.noreply.github.com> Date: Fri, 21 Jan 2022 15:22:57 +0100 Subject: [PATCH] [postgres] issue with authMethod: "md5" (#813) --- charts/postgres/Chart.yaml | 4 ++-- charts/postgres/README.md | 2 +- charts/postgres/templates/customconfig.yaml | 2 +- charts/postgres/templates/statefulset.yaml | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml index 15163450..79a4c0c1 100644 --- a/charts/postgres/Chart.yaml +++ b/charts/postgres/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.3.3 +version: 0.2.16 -appVersion: "14.1" +appVersion: "13.5" diff --git a/charts/postgres/README.md b/charts/postgres/README.md index 936a0574..b3b90c89 100644 --- a/charts/postgres/README.md +++ b/charts/postgres/README.md @@ -1,6 +1,6 @@ # PostgreSQL -   +   A Helm chart for PostgreSQL on Kubernetes diff --git a/charts/postgres/templates/customconfig.yaml b/charts/postgres/templates/customconfig.yaml index 2b12c0ab..105328f2 100644 --- a/charts/postgres/templates/customconfig.yaml +++ b/charts/postgres/templates/customconfig.yaml @@ -6,6 +6,6 @@ metadata: labels: {{- include "postgres.labels" . | nindent 4 }} data: - custom.cnf: |- + postgresql.conf: |- {{- .Values.customConfig | nindent 4 }} {{- end }} diff --git a/charts/postgres/templates/statefulset.yaml b/charts/postgres/templates/statefulset.yaml index 1a7ad7c5..4b54ea18 100644 --- a/charts/postgres/templates/statefulset.yaml +++ b/charts/postgres/templates/statefulset.yaml @@ -142,8 +142,7 @@ spec: - mountPath: /var/lib/postgresql/data name: postgres-data {{- if .Values.customConfig }} - - mountPath: /etc/postgresql/postgresql.conf - subPath: postgresql.conf + - mountPath: /etc/postgresql name: customconfig {{- end }} {{- if .Values.userDatabase }} -- GitLab