From 9e4df624443496d742e4ddedb05087c03377ed60 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Thu, 2 Oct 2025 17:49:53 -0500 Subject: [PATCH] migrate to new chart --- clusters/cl01tl/platform/stalwart/Chart.yaml | 2 +- clusters/cl01tl/platform/stalwart/values.yaml | 21 +++++++++++-------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/clusters/cl01tl/platform/stalwart/Chart.yaml b/clusters/cl01tl/platform/stalwart/Chart.yaml index 056072855..b9336065c 100644 --- a/clusters/cl01tl/platform/stalwart/Chart.yaml +++ b/clusters/cl01tl/platform/stalwart/Chart.yaml @@ -23,7 +23,7 @@ dependencies: repository: https://bjw-s-labs.github.io/helm-charts/ - 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/stalwart.png appVersion: v0.11.8 diff --git a/clusters/cl01tl/platform/stalwart/values.yaml b/clusters/cl01tl/platform/stalwart/values.yaml index b0d314332..5d37fa420 100644 --- a/clusters/cl01tl/platform/stalwart/values.yaml +++ b/clusters/cl01tl/platform/stalwart/values.yaml @@ -52,7 +52,7 @@ stalwart: - path: /opt/stalwart readOnly: false postgres-17-cluster: - mode: standalone + mode: recovery cluster: storage: storageClass: local-path @@ -65,14 +65,17 @@ postgres-17-cluster: recovery: method: objectStore objectStore: - endpointURL: https://nyc3.digitaloceanspaces.com destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/stalwart/stalwart-postgresql-17-cluster - endpointCredentials: stalwart-postgresql-17-cluster-backup-secret - recoveryIndex: 2 + index: 3 backup: enabled: true - endpointURL: https://nyc3.digitaloceanspaces.com - destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/stalwart/stalwart-postgresql-17-cluster - endpointCredentials: stalwart-postgresql-17-cluster-backup-secret - backupIndex: 3 - retentionPolicy: "3d" + method: objectStore + objectStore: + - name: external + destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/stalwart/stalwart-postgresql-17-cluster + index: 3 + retentionPolicy: "3d" + scheduledBackups: + - name: daily-backup + schedule: "0 0 0 * * *" + backupName: external