From f12e27c5c6005d8e705355d6c3bfd04955f611a5 Mon Sep 17 00:00:00 2001 From: Michael Thomson Date: Sat, 13 Dec 2025 09:15:34 -0500 Subject: [PATCH] change clusters to backup mode --- apps/authentik/cluster.yaml | 14 +++++++------- apps/immich/cluster.yaml | 20 ++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apps/authentik/cluster.yaml b/apps/authentik/cluster.yaml index e0e97e1..1dfc35d 100644 --- a/apps/authentik/cluster.yaml +++ b/apps/authentik/cluster.yaml @@ -16,14 +16,14 @@ spec: login: true bootstrap: - initdb: - database: authentik - owner: authentik - secret: - name: authentik-postgres-credentials + # initdb: + # database: authentik + # owner: authentik + # secret: + # name: authentik-postgres-credentials # NOTE: uncomment this and commend the above initdb when recovering - # recovery: - # source: postgres-cluster + recovery: + source: postgres-cluster storage: size: 8Gi diff --git a/apps/immich/cluster.yaml b/apps/immich/cluster.yaml index a166a22..1238d07 100644 --- a/apps/immich/cluster.yaml +++ b/apps/immich/cluster.yaml @@ -21,17 +21,17 @@ spec: login: true bootstrap: - initdb: - database: immich - owner: immich - secret: - name: immich-postgres-user - postInitSQL: - - CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE; - - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; + # initdb: + # database: immich + # owner: immich + # secret: + # name: immich-postgres-user + # postInitSQL: + # - CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE; + # - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; # NOTE: uncomment this and commend the above initdb when recovering - # recovery: - # source: immich-postgres + recovery: + source: immich-postgres storage: size: 8Gi