From 4a4d91814571ebcc549085b151cb3e9fc546bae1 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Thu, 5 Dec 2024 22:21:12 +0100 Subject: [PATCH] feat(backup): Add WAL configuration --- manifests/grafana/database.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/manifests/grafana/database.yaml b/manifests/grafana/database.yaml index 61cf6c6..ce89b2b 100644 --- a/manifests/grafana/database.yaml +++ b/manifests/grafana/database.yaml @@ -22,6 +22,24 @@ spec: pg_hba: - host all all all md5 + backup: + barmanObjectStore: + destinationPath: "s3://halis/cloudnativepg" + endpointURL: https://s3.halia.dev + s3Credentials: + accessKeyId: + name: s3-secret + key: AWS_ACCESS_KEY_ID + secretAccessKey: + name: s3-secret + key: AWS_SECRET_ACCESS_KEY + region: + name: s3-secret + key: AWS_REGION + wal: + compression: gzip + maxParallel: 8 + resources: requests: cpu: 100m