From 5d1ac1d4f94cf812cf085bf0c03654fe47fd9462 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 2 Oct 2025 18:49:59 -0500 Subject: [PATCH] migrate to new chart --- .../cl01tl/applications/photoview/Chart.yaml | 2 +- .../cl01tl/applications/photoview/values.yaml | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/clusters/cl01tl/applications/photoview/Chart.yaml b/clusters/cl01tl/applications/photoview/Chart.yaml index 0f6f92775..857e2ded6 100644 --- a/clusters/cl01tl/applications/photoview/Chart.yaml +++ b/clusters/cl01tl/applications/photoview/Chart.yaml @@ -20,7 +20,7 @@ dependencies: version: 4.3.0 - name: postgres-cluster alias: postgres-17-cluster - version: 5.1.0 + version: 6.5.0 repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/photoview.png appVersion: 2.4.0 diff --git a/clusters/cl01tl/applications/photoview/values.yaml b/clusters/cl01tl/applications/photoview/values.yaml index 0bd5fb64a..4f40d5b4a 100644 --- a/clusters/cl01tl/applications/photoview/values.yaml +++ b/clusters/cl01tl/applications/photoview/values.yaml @@ -73,7 +73,7 @@ photoview: - path: /photos readOnly: true postgres-17-cluster: - mode: standalone + mode: recovery cluster: storage: storageClass: local-path @@ -86,14 +86,17 @@ postgres-17-cluster: recovery: method: objectStore objectStore: - endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/photoview/photoview-postgresql-17-cluster - endpointCredentials: photoview-postgresql-17-cluster-backup-secret - recoveryIndex: 3 + index: 3 backup: enabled: true - endpointURL: https://nyc3.digitaloceanspaces.com - destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/photoview/photoview-postgresql-17-cluster - endpointCredentials: photoview-postgresql-17-cluster-backup-secret - backupIndex: 3 - retentionPolicy: "3d" + method: objectStore + objectStore: + - name: external + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/photoview/photoview-postgresql-17-cluster + index: 3 + retentionPolicy: "3d" + scheduledBackups: + - name: daily-backup + schedule: "0 0 0 * * *" + backupName: external