diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 584f098..c531109 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.2.0 +version: 3.3.0 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index 650ca27..7511b2e 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -20,6 +20,9 @@ bootstrap: {{- range .postInitApplicationSQL }} {{- printf "- %s" . | nindent 6 }} {{- end }} + {{- end }} + postInitSQL: + {{- with .Values.cluster.initdb }} {{- range .postInitSQL }} {{- printf "- %s" . | nindent 6 }} {{- end }}