From 3d968891080be2324fe982faf7dab0707a4dcca3 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 28 Mar 2024 16:39:31 -0500 Subject: [PATCH] Enable restore from backup. --- .../media/immich/app/postgresCluster.yaml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/kubernetes/apps/media/immich/app/postgresCluster.yaml b/kubernetes/apps/media/immich/app/postgresCluster.yaml index fc3f2bf2..903b33c3 100644 --- a/kubernetes/apps/media/immich/app/postgresCluster.yaml +++ b/kubernetes/apps/media/immich/app/postgresCluster.yaml @@ -6,21 +6,21 @@ metadata: name: &name "${APP}" spec: postgresVersion: 16 - # dataSource: - # pgbackrest: - # stanza: db - # configuration: - # - secret: - # name: pgo-s3-creds - # global: - # repo1-path: "/${APP}/repo1" - # repo1-s3-uri-style: path - # repo: - # name: repo1 - # s3: - # bucket: "crunchy-postgres" - # endpoint: "s3.hsn.dev" - # region: "us-east-1" + dataSource: + pgbackrest: + stanza: db + configuration: + - secret: + name: pgo-s3-creds + global: + repo1-path: "/${APP}/repo1" + repo1-s3-uri-style: path + repo: + name: repo1 + s3: + bucket: "crunchy-postgres" + endpoint: "s3.hsn.dev" + region: "us-east-1" patroni: dynamicConfiguration: synchronous_mode: true