Compare commits

..

2 Commits

Author SHA1 Message Date
172526fb79 update common chart 2024-10-11 19:03:23 -05:00
5d5aad265a fix settings for tensorchord type 2024-09-28 16:43:45 -05:00
4 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: cloudflared
version: 1.8.0
version: 1.8.1
description: Cloudflared Tunnel
keywords:
- cloudflare
@@ -13,6 +13,6 @@ maintainers:
dependencies:
- name: common
repository: https://bjw-s.github.io/helm-charts/
version: 3.4.0
version: 3.5.1
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
appVersion: "2024.9.1"

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-cluster
version: 3.12.0
version: 3.12.1
description: Chart for cloudnative-pg cluster
keywords:
- database

View File

@@ -7,6 +7,9 @@ bootstrap:
{{- . | toYaml | nindent 4 }}
{{- end }}
{{- end }}
{{- if eq .Values.type "tensorchord" }}
dataChecksums: true
{{- end }}
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (eq .Values.type "tensorchord") (.Values.cluster.initdb.postInitApplicationSQL) }}
postInitApplicationSQL:
{{- if eq .Values.type "postgis" }}
@@ -17,10 +20,14 @@ bootstrap:
{{- else if eq .Values.type "timescaledb" }}
- CREATE EXTENSION IF NOT EXISTS timescaledb;
{{- else if eq .Values.type "tensorchord" }}
- CREATE EXTENSION IF NOT EXISTS "vector";
- ALTER SYSTEM SET search_path TO "$user", public, vectors;
- SET search_path TO "$user", public, vectors;
- CREATE EXTENSION IF NOT EXISTS "vectors";
- CREATE EXTENSION IF NOT EXISTS "cube";
- CREATE EXTENSION IF NOT EXISTS "earthdistance";
- ALTER SCHEMA vectors OWNER TO "app";
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA vectors TO "app";
- GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "app";
{{- end }}
{{- with .Values.cluster.initdb }}
{{- range .postInitApplicationSQL }}

View File

@@ -46,6 +46,7 @@ spec:
{{- if eq .Values.type "tensorchord" }}
shared_preload_libraries:
- vectors.so
enableAlterSystem: true
{{- end }}
{{- with .Values.cluster.postgresql.shared_preload_libraries }}
shared_preload_libraries: