Compare commits
4 Commits
postgres-c
...
cloudflare
Author | SHA1 | Date | |
---|---|---|---|
172526fb79 | |||
5d5aad265a | |||
84af71da49 | |||
ab3ca49103 |
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: cloudflared
|
name: cloudflared
|
||||||
version: 1.8.0
|
version: 1.8.1
|
||||||
description: Cloudflared Tunnel
|
description: Cloudflared Tunnel
|
||||||
keywords:
|
keywords:
|
||||||
- cloudflare
|
- cloudflare
|
||||||
@@ -13,6 +13,6 @@ maintainers:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
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
|
icon: https://avatars.githubusercontent.com/u/314135?s=48&v=4
|
||||||
appVersion: "2024.9.1"
|
appVersion: "2024.9.1"
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 3.10.0
|
version: 3.12.1
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -7,7 +7,10 @@ bootstrap:
|
|||||||
{{- . | toYaml | nindent 4 }}
|
{{- . | toYaml | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or (eq .Values.type "postgis") (eq .Values.type "timescaledb") (.Values.cluster.initdb.postInitApplicationSQL) }}
|
{{- 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:
|
postInitApplicationSQL:
|
||||||
{{- if eq .Values.type "postgis" }}
|
{{- if eq .Values.type "postgis" }}
|
||||||
- CREATE EXTENSION IF NOT EXISTS postgis;
|
- CREATE EXTENSION IF NOT EXISTS postgis;
|
||||||
@@ -16,6 +19,15 @@ bootstrap:
|
|||||||
- CREATE EXTENSION IF NOT EXISTS postgis_tiger_geocoder;
|
- CREATE EXTENSION IF NOT EXISTS postgis_tiger_geocoder;
|
||||||
{{- else if eq .Values.type "timescaledb" }}
|
{{- else if eq .Values.type "timescaledb" }}
|
||||||
- CREATE EXTENSION IF NOT EXISTS timescaledb;
|
- CREATE EXTENSION IF NOT EXISTS timescaledb;
|
||||||
|
{{- else if eq .Values.type "tensorchord" }}
|
||||||
|
- 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 }}
|
{{- end }}
|
||||||
{{- with .Values.cluster.initdb }}
|
{{- with .Values.cluster.initdb }}
|
||||||
{{- range .postInitApplicationSQL }}
|
{{- range .postInitApplicationSQL }}
|
||||||
|
@@ -43,6 +43,15 @@ spec:
|
|||||||
shared_preload_libraries:
|
shared_preload_libraries:
|
||||||
- timescaledb
|
- timescaledb
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if eq .Values.type "tensorchord" }}
|
||||||
|
shared_preload_libraries:
|
||||||
|
- vectors.so
|
||||||
|
enableAlterSystem: true
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.cluster.postgresql.shared_preload_libraries }}
|
||||||
|
shared_preload_libraries:
|
||||||
|
{{- toYaml . | nindent 6 }}
|
||||||
|
{{ end }}
|
||||||
{{- with .Values.cluster.postgresql.parameters }}
|
{{- with .Values.cluster.postgresql.parameters }}
|
||||||
parameters:
|
parameters:
|
||||||
{{- toYaml . | nindent 6 }}
|
{{- toYaml . | nindent 6 }}
|
||||||
|
@@ -6,6 +6,7 @@ nameOverride: ""
|
|||||||
# * `postgresql`
|
# * `postgresql`
|
||||||
# * `postgis`
|
# * `postgis`
|
||||||
# * `timescaledb`
|
# * `timescaledb`
|
||||||
|
# * `tensorchord`
|
||||||
type: postgresql
|
type: postgresql
|
||||||
|
|
||||||
###
|
###
|
||||||
@@ -20,7 +21,7 @@ cluster:
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
tag: "16.4"
|
tag: "16.4-26"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
# The UID and GID of the postgres user inside the image
|
# The UID and GID of the postgres user inside the image
|
||||||
@@ -77,6 +78,7 @@ cluster:
|
|||||||
shared_buffers: 128MB
|
shared_buffers: 128MB
|
||||||
max_slot_wal_keep_size: 2000MB
|
max_slot_wal_keep_size: 2000MB
|
||||||
hot_standby_feedback: "on"
|
hot_standby_feedback: "on"
|
||||||
|
shared_preload_libraries: []
|
||||||
|
|
||||||
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
# BootstrapInitDB is the configuration of the bootstrap process when initdb is used.
|
||||||
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
# See: https://cloudnative-pg.io/documentation/current/bootstrap/
|
||||||
|
Reference in New Issue
Block a user