From 18cb5d5cae0d98f88bdec5c76aa7561272e155ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 17 Dec 2022 15:58:21 +0200 Subject: [PATCH] Work around mandatory backup --- templates/postgres.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/templates/postgres.yaml b/templates/postgres.yaml index 4f2f169..2bd2581 100644 --- a/templates/postgres.yaml +++ b/templates/postgres.yaml @@ -21,6 +21,20 @@ spec: labelSelector: matchLabels: postgres-operator.crunchydata.com/cluster: harbor + postgres-operator.crunchydata.com/instance-set: postgres backups: pgbackrest: - repos: [] + global: + repo1-retention-full: "0" + repo1-retention-full-type: time + repos: + - name: repo1 + schedules: + full: "0 5 31 2 *" + volume: + volumeClaimSpec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi