Skip to content

Commit

Permalink
Properly rebase bootstrap.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemnoel committed Dec 18, 2024
1 parent b12f65c commit 02ea25c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/paradedb/templates/_bootstrap.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ bootstrap:
{{- printf "- %s" . | nindent 6 }}
{{- end -}}
{{- end }}
{{- if or (eq .Values.type "paradedb") (eq .Values.type "paradedb-enterprise") (not (empty .Values.cluster.initdb.postInitApplicationSQL)) }}
postInitApplicationSQL:
{{- if or (eq .Values.type "paradedb") (eq .Values.type "paradedb-enterprise") }}
- CREATE EXTENSION IF NOT EXISTS pg_search;
Expand All @@ -36,6 +37,8 @@ bootstrap:
{{- printf "- %s" . | nindent 6 }}
{{- end -}}
{{- end }}
{{- end }}
{{- if or (eq .Values.type "paradedb") (eq .Values.type "paradedb-enterprise") (not (empty .Values.cluster.initdb.postInitTemplateSQL)) }}
postInitTemplateSQL:
{{- if or (eq .Values.type "paradedb") (eq .Values.type "paradedb-enterprise") }}
- CREATE EXTENSION IF NOT EXISTS pg_search;
Expand All @@ -53,6 +56,7 @@ bootstrap:
{{- printf "- %s" . | nindent 6 }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- else if eq .Values.mode "recovery" -}}
bootstrap:
{{- if eq .Values.recovery.method "pg_basebackup" }}
Expand Down

0 comments on commit 02ea25c

Please sign in to comment.