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 }}