Add ScheduledBackup configuration for PostgreSQL in authentik

This commit is contained in:
Marco van Zijl 2025-05-11 09:55:49 +02:00
parent 7b57a18e2e
commit 1a8324e492

View File

@ -68,7 +68,6 @@ spec:
rules:
enabled: true
---
apiVersion: objectbucket.io/v1alpha1
kind: ObjectBucketClaim
metadata:
@ -125,4 +124,21 @@ spec:
compression: bzip2
wal:
compression: bzip2
retentionPolicy: "60d"
retentionPolicy: "60d"
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: backup-pg-authentik
namespace: authentik
spec:
schedule: "0 0 0 * * *"
method: barmanObjectStore
immediate: true
backupOwnerReference: self
cluster:
name: pg-authentik-cluster