Compare commits

...

2 Commits

Author SHA1 Message Date
a6821995ca fix post init location 2024-06-14 21:23:48 -05:00
4291c3d18c add options for postgresql init 2024-06-14 21:17:45 -05:00
2 changed files with 11 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 3.1.0
version: 3.3.0
description: Chart for cloudnative-pg cluster
keywords:
- database
@@ -10,4 +10,4 @@ sources:
maintainers:
- name: alexlebens
icon: https://avatars.githubusercontent.com/u/100373852?s=48&v=4
appVersion: v1.22.2
appVersion: v1.23.1

View File

@@ -21,6 +21,12 @@ bootstrap:
{{- printf "- %s" . | nindent 6 }}
{{- end }}
{{- end }}
postInitSQL:
{{- with .Values.cluster.initdb }}
{{- range .postInitSQL }}
{{- printf "- %s" . | nindent 6 }}
{{- end }}
{{- end }}
{{- else if eq .Values.mode "replica" }}
initdb:
import: