diff --git a/applications/templates/authentik.yaml b/applications/templates/authentik.yaml index 96db344..29768af 100644 --- a/applications/templates/authentik.yaml +++ b/applications/templates/authentik.yaml @@ -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" \ No newline at end of file + 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 + + + + \ No newline at end of file