k8s-deployments/openproject/db.yaml

23 lines
624 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: openproject
namespace: openproject
spec:
instances: 3
storage:
size: 1Gi
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"