change clusters to backup mode

This commit is contained in:
2025-12-13 09:15:34 -05:00
parent 8ff38d1cbf
commit f12e27c5c6
2 changed files with 17 additions and 17 deletions

View File

@@ -16,14 +16,14 @@ spec:
login: true login: true
bootstrap: bootstrap:
initdb: # initdb:
database: authentik # database: authentik
owner: authentik # owner: authentik
secret: # secret:
name: authentik-postgres-credentials # name: authentik-postgres-credentials
# NOTE: uncomment this and commend the above initdb when recovering # NOTE: uncomment this and commend the above initdb when recovering
# recovery: recovery:
# source: postgres-cluster source: postgres-cluster
storage: storage:
size: 8Gi size: 8Gi

View File

@@ -21,17 +21,17 @@ spec:
login: true login: true
bootstrap: bootstrap:
initdb: # initdb:
database: immich # database: immich
owner: immich # owner: immich
secret: # secret:
name: immich-postgres-user # name: immich-postgres-user
postInitSQL: # postInitSQL:
- CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE; # - CREATE EXTENSION IF NOT EXISTS "vchord" CASCADE;
- CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE; # - CREATE EXTENSION IF NOT EXISTS "earthdistance" CASCADE;
# NOTE: uncomment this and commend the above initdb when recovering # NOTE: uncomment this and commend the above initdb when recovering
# recovery: recovery:
# source: immich-postgres source: immich-postgres
storage: storage:
size: 8Gi size: 8Gi