move to standby

This commit is contained in:
2025-02-19 19:07:24 -06:00
parent 403947c864
commit 3b53af67ae
13 changed files with 453 additions and 266 deletions

View File

@@ -0,0 +1,27 @@
apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
name: stalwart-config-backup-source
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: stalwart-config-backup-source
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: backup
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
sourcePVC: stalwart-config
trigger:
schedule: 0 0 */3 * *
restic:
pruneIntervalDays: 14
repository: stalwart-config-backup-secret
retain:
hourly: 1
daily: 1
weekly: 1
monthly: 2
yearly: 4
copyMethod: Snapshot
storageClassName: ceph-block
volumeSnapshotClassName: ceph-blockpool-snapshot