mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
This commit makes the Barman cloud plugin support the enforcement of retention policy as provided by the barman-cloud tool suite. The first recoverability point and the last successful backup are shown in the status of the ObjectStore resource for each involved server name. Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
30 lines
601 B
YAML
30 lines
601 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: cluster-example
|
|
spec:
|
|
instances: 3
|
|
imagePullPolicy: Always
|
|
|
|
backup:
|
|
barmanObjectStore:
|
|
destinationPath: s3://backups/
|
|
endpointURL: http://minio:9000
|
|
s3Credentials:
|
|
accessKeyId:
|
|
name: minio
|
|
key: ACCESS_KEY_ID
|
|
secretAccessKey:
|
|
name: minio
|
|
key: ACCESS_SECRET_KEY
|
|
wal:
|
|
compression: gzip
|
|
data:
|
|
additionalCommandArgs:
|
|
- "--min-chunk-size=5MB"
|
|
- "--read-timeout=60"
|
|
- "-vv"
|
|
|
|
storage:
|
|
size: 1Gi
|