Add ScheduledBackup configuration for PostgreSQL in authentik
This commit is contained in:
parent
7b57a18e2e
commit
1a8324e492
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user