From 644aebc0198aeda98c8bc2d62a5d3e1bbecbebe7 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 2 Oct 2025 18:25:24 -0500 Subject: [PATCH] migrate to new chart --- .../cl01tl/applications/jellystat/Chart.yaml | 2 +- .../cl01tl/applications/jellystat/values.yaml | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/clusters/cl01tl/applications/jellystat/Chart.yaml b/clusters/cl01tl/applications/jellystat/Chart.yaml index 4a304b270..bae64149b 100644 --- a/clusters/cl01tl/applications/jellystat/Chart.yaml +++ b/clusters/cl01tl/applications/jellystat/Chart.yaml @@ -21,7 +21,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/jellystat.png appVersion: 1.1.6 diff --git a/clusters/cl01tl/applications/jellystat/values.yaml b/clusters/cl01tl/applications/jellystat/values.yaml index bb9310b2e..e67b1d899 100644 --- a/clusters/cl01tl/applications/jellystat/values.yaml +++ b/clusters/cl01tl/applications/jellystat/values.yaml @@ -79,7 +79,7 @@ jellystat: - path: /app/backend/backup-data readOnly: false postgres-17-cluster: - mode: standalone + mode: recovery cluster: storage: storageClass: local-path @@ -92,14 +92,17 @@ postgres-17-cluster: recovery: method: objectStore objectStore: - endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellystat/jellystat-postgresql-17-cluster - endpointCredentials: jellystat-postgresql-17-cluster-backup-secret - recoveryIndex: 2 + index: 2 backup: enabled: true - endpointURL: https://nyc3.digitaloceanspaces.com - destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellystat/jellystat-postgresql-17-cluster - endpointCredentials: jellystat-postgresql-17-cluster-backup-secret - backupIndex: 2 - retentionPolicy: "3d" + method: objectStore + objectStore: + - name: external + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellystat/jellystat-postgresql-17-cluster + index: 2 + retentionPolicy: "3d" + scheduledBackups: + - name: daily-backup + schedule: "0 0 0 * * *" + backupName: external