diff --git a/openproject/db.yaml b/openproject/db.yaml index a8c2fa0..8d735a3 100644 --- a/openproject/db.yaml +++ b/openproject/db.yaml @@ -6,6 +6,9 @@ spec: instances: 3 storage: size: 1Gi + bootstrap: + recovery: + source: clusterBackup backup: barmanObjectStore: destinationPath: "s3://openproject/backups" @@ -20,3 +23,15 @@ spec: wal: compression: gzip retentionPolicy: "30d" + externalClusters: + - name: clusterBackup + barmanObjectStore: + destinationPath: "s3://openproject/backups" + endpointURL: "https://fsn1.your-objectstorage.com" + s3Credentials: + accessKeyId: + name: openproject-secret + key: OPENPROJECT_FOG_CREDENTIALS_AWS__ACCESS__KEY__ID + secretAccessKey: + name: openproject-secret + key: OPENPROJECT_FOG_CREDENTIALS_AWS__SECRET__ACCESS__KEY