Add ScheduledBackup configuration for PostgreSQL in authentik
This commit is contained in:
parent
7b57a18e2e
commit
1a8324e492
@ -68,7 +68,6 @@ spec:
|
|||||||
rules:
|
rules:
|
||||||
enabled: true
|
enabled: true
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: objectbucket.io/v1alpha1
|
apiVersion: objectbucket.io/v1alpha1
|
||||||
kind: ObjectBucketClaim
|
kind: ObjectBucketClaim
|
||||||
metadata:
|
metadata:
|
||||||
@ -126,3 +125,20 @@ spec:
|
|||||||
wal:
|
wal:
|
||||||
compression: bzip2
|
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