From bf319e7c2ef3726d88e27f15fc74ff9883b677de Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 11 Mar 2024 14:24:59 +0100 Subject: [PATCH] Update _bootstrapStandalone.tpl --- .../templates/lib/cnpg/cluster/_bootstrapStandalone.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/common/templates/lib/cnpg/cluster/_bootstrapStandalone.tpl b/library/common/templates/lib/cnpg/cluster/_bootstrapStandalone.tpl index 52de0208..93a1c99a 100644 --- a/library/common/templates/lib/cnpg/cluster/_bootstrapStandalone.tpl +++ b/library/common/templates/lib/cnpg/cluster/_bootstrapStandalone.tpl @@ -33,6 +33,10 @@ "CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;" "CREATE EXTENSION IF NOT EXISTS postgis_tiger_geocoder;") -}} {{- end }} + {{- if eq $objectData.type "vectors" -}} + {{- $postInitApplicationSQL = concat $postInitApplicationSQL (list + "CREATE EXTENSION IF NOT EXISTS vectors;" -}} + {{- end -}} initdb: secret: name: {{ printf "%s-user" $objectData.clusterName }}