diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml index 15163450b5ee4009515115dcccf4a9ed44563382..79a4c0c1bb4f01ae68b5575da73efc9d76416d96 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 936a0574cc64ff11bc7ee0ab1fa2218086dfffd7..b3b90c8988adad156abd4f3bbc406c499b730530 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 2b12c0abff9303c754933e3d8bbf13542c1f5688..105328f2f01f02c507dd243530d796f2338137d8 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 1a7ad7c588789ecc3b4d5ab94448d59bca2837e5..4b54ea18ade9e03f0f2ac9d7a97e9571de01f492 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 }}