From 5c78f39f9e5d1f0bdf08b204f44997f0ccaa17e7 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Wed, 14 Aug 2024 20:18:29 +0200 Subject: [PATCH] fix(cnpg): configure object store endpoint --- cnpg/resources/cluster.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cnpg/resources/cluster.yaml b/cnpg/resources/cluster.yaml index 5319d0a..0203d36 100644 --- a/cnpg/resources/cluster.yaml +++ b/cnpg/resources/cluster.yaml @@ -22,7 +22,8 @@ spec: backup: barmanObjectStore: - destinationPath: cnpg + destinationPath: s3://cnpg + endpointURL: http://garage.garage.svc:3900 s3Credentials: accessKeyId: name: cnpg-backup-creds @@ -30,6 +31,8 @@ spec: secretAccessKey: name: cnpg-backup-creds key: ACCESS_SECRET_KEY + wal: + compression: snappy retentionPolicy: "30d" resources: