change condition handling

This commit is contained in:
2024-07-08 12:09:29 -05:00
parent 668d50dfdb
commit 9f68b30a31
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ bootstrap:
{{- . | toYaml | nindent 4 }}
{{- end }}
{{- end }}
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (.Values.cluster.initdb) }}
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (.Values.cluster.initdb.postInitApplicationSQL) }}
postInitApplicationSQL:
{{- if eq .Values.type "postgis" }}
- CREATE EXTENSION IF NOT EXISTS postgis;