add new db
All checks were successful
lint-test-helm / helm-lint (push) Successful in 10s
renovate / renovate (push) Successful in 1m39s

This commit is contained in:
2025-10-03 18:40:51 -05:00
parent 4c04656b9e
commit 0bd912bdde
2 changed files with 60 additions and 0 deletions

View File

@@ -22,5 +22,9 @@ dependencies:
alias: postgres-16-cluster alias: postgres-16-cluster
version: 5.1.0 version: 5.1.0
repository: oci://harbor.alexlebens.net/helm-charts repository: oci://harbor.alexlebens.net/helm-charts
- name: postgres-cluster
alias: postgres-17-cluster
version: 6.9.1
repository: oci://harbor.alexlebens.net/helm-charts
icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/immich.png icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/immich.png
appVersion: v1.132.3 appVersion: v1.132.3

View File

@@ -229,3 +229,59 @@ postgres-16-cluster:
endpointCredentials: immich-postgresql-16-cluster-backup-secret endpointCredentials: immich-postgresql-16-cluster-backup-secret
backupIndex: 2 backupIndex: 2
retentionPolicy: "3d" retentionPolicy: "3d"
postgres-17-cluster:
nameOverride: immich-postgresql-17
mode: recovery
cluster:
image:
repository: ghcr.io/tensorchord/cloudnative-vectorchord
tag: 17.6-0.5.2
storage:
storageClass: local-path
walStorage:
storageClass: local-path
monitoring:
enabled: true
prometheusRule:
enabled: true
postgresql:
parameters:
shared_buffers: 256MB
shared_preload_libraries:
- "vchord.so"
initdb:
postInitSQL:
- CREATE EXTENSION IF NOT EXISTS "vector";
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
- CREATE EXTENSION IF NOT EXISTS "cube" CASCADE;
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
recovery:
method: import
objectStore:
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/immich/immich-postgresql-17-cluster
index: 1
import:
type: "microservice"
databases:
- app
source:
host: immich-postgresql-16-cluster-rw
port: 5432
username: app
database: app
sslMode: "disable"
passwordSecret:
create: false
name: immich-postgresql-16-cluster-app
key: password
backup:
objectStore:
- name: external
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/immich/immich-postgresql-17-cluster
index: 1
retentionPolicy: "3d"
scheduledBackups:
- name: daily-backup
suspend: true
schedule: "0 0 0 * * *"
backupName: external