k8s-deployments/openproject/db.yaml

45 lines
1.3 KiB
YAML
Raw Normal View History

2024-11-04 22:12:44 +01:00
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: openproject
spec:
instances: 3
storage:
size: 1Gi
2025-02-15 11:13:45 +01:00
# bootstrap:
# recovery:
# source: clusterBackup
# recoveryTarget:
# targetTime: "2025-02-12 21:00:00.00000+00"
2024-11-16 13:19:17 +01:00
backup:
barmanObjectStore:
destinationPath: "s3://openproject/backups"
endpointURL: "https://fsn1.your-objectstorage.com"
2025-02-15 11:13:45 +01:00
serverName: "new-openproject"
2024-11-16 13:19:17 +01:00
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
2025-02-15 11:13:45 +01:00
retentionPolicy: "30d"
# externalClusters:
# - name: clusterBackup
# barmanObjectStore:
# destinationPath: "s3://openproject/backups"
# endpointURL: "https://fsn1.your-objectstorage.com"
# serverName: openproject
# 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:
# maxParallel: 8
# compression: gzip