authentik cnpg backup and restore

This commit is contained in:
2025-06-10 12:03:07 -04:00
parent c9f9d7ed8f
commit a70c3c6359
3 changed files with 56 additions and 0 deletions

View File

@@ -18,7 +18,36 @@ spec:
owner: authentik
secret:
name: authentik-postgres-credentials
recovery:
source: clusterBackup
storage:
size: 8Gi
storageClass: longhorn-pg
externalClusters:
- name: clusterBackup
barmanObjectStore:
destinationPath: "s3://mthomson-cnpg-backup@us-west-004/authentik"
endpointURL: s3.us-west-004.backblazeb2.com
s3Credentials:
accessKeyId:
name: backblaze-secret
key: ACCESS_KEY_ID
secretAccessKey:
name: backblaze-secret
key: ACCESS_SECRET_KEY
wal:
maxParallel: 8
backup:
barmanObjectStore:
destinationPath: "s3://mthomson-cnpg-backup@us-west-004/authentik"
endpointURL: s3.us-west-004.backblazeb2.com
s3Credentials:
accessKeyId:
name: backblaze-secret
key: ACCESS_KEY_ID
secretAccessKey:
name: backblaze-secret
key: ACCESS_SECRET_KEY