Skip to content

Commit

Permalink
fix: up chart cnpg
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Jul 24, 2023
1 parent 01851bc commit bcf29ee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: cnpg-cluster
description: A Helm chart to create cloudnative-pg.io clusters
type: application
version: 1.7.3
version: 1.8.0
appVersion: 14.5-6
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ spec:
{{- range $name := .Values.extensions }}
- CREATE EXTENSION IF NOT EXISTS "{{ $name }}";
{{- end }}
{{ if .Values.postInitApplicationSQL }}
postInitApplicationSQL:
{{- toYaml .Values.postInitApplicationSQL | nindent 8 }}
{{ end }}
{{- end }}

{{- if .Values.recovery.enabled }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,6 @@ recovery:
enabled: false
# the name of the source cluster in the backups
# externalClusterName: source-cluster-name

# List of SQL queries to be executed as a superuser in the application database right after is created - to be used with extreme care (by default empty)
postInitApplicationSQL: ""

0 comments on commit bcf29ee

Please sign in to comment.