From 9fb8ef9fd1721a232895d958e32a0b09c9ff86d3 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 11 Dec 2025 21:48:04 -0600 Subject: [PATCH] switchover --- clusters/cl01tl/helm/immich/values.yaml | 30 +++++-------------------- 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/clusters/cl01tl/helm/immich/values.yaml b/clusters/cl01tl/helm/immich/values.yaml index ceeefbdd8..b6fbc1119 100644 --- a/clusters/cl01tl/helm/immich/values.yaml +++ b/clusters/cl01tl/helm/immich/values.yaml @@ -27,27 +27,27 @@ immich: - name: DB_HOSTNAME valueFrom: secretKeyRef: - name: immich-postgresql-17-cluster-app + name: immich-postgresql-18-cluster-app key: host - name: DB_DATABASE_NAME valueFrom: secretKeyRef: - name: immich-postgresql-17-cluster-app + name: immich-postgresql-18-cluster-app key: dbname - name: DB_PORT valueFrom: secretKeyRef: - name: immich-postgresql-17-cluster-app + name: immich-postgresql-18-cluster-app key: port - name: DB_USERNAME valueFrom: secretKeyRef: - name: immich-postgresql-17-cluster-app + name: immich-postgresql-18-cluster-app key: user - name: DB_PASSWORD valueFrom: secretKeyRef: - name: immich-postgresql-17-cluster-app + name: immich-postgresql-18-cluster-app key: password probes: liveness: @@ -284,30 +284,12 @@ postgres-18-cluster: - CREATE EXTENSION IF NOT EXISTS "cube" CASCADE; - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; recovery: - method: import + method: objectStore objectStore: destinationPath: s3://postgres-backups/cl01tl/immich/immich-postgresql-18-cluster endpointURL: http://garage-main.garage:3900 index: 1 endpointCredentials: immich-postgresql-18-cluster-backup-secret-garage - import: - type: "microservice" - databases: - - app - source: - host: "immich-postgresql-17-cluster-rw" - port: 5432 - username: app - database: app - sslMode: "disable" - passwordSecret: - name: "immich-postgresql-17-cluster-app" - key: "password" - postImportApplicationSQL: - - 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; backup: objectStore: - name: external