2024-11-04 22:12:44 +01:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Cluster
|
|
|
|
metadata:
|
|
|
|
name: openproject
|
|
|
|
namespace: openproject
|
|
|
|
spec:
|
|
|
|
instances: 3
|
|
|
|
storage:
|
|
|
|
size: 1Gi
|
2024-11-16 13:19:17 +01:00
|
|
|
backup:
|
|
|
|
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
|
|
|
|
wal:
|
|
|
|
compression: gzip
|
|
|
|
retentionPolicy: "30d"
|