From 3042060d88d7771ecc6653664171d6bc2271b60a Mon Sep 17 00:00:00 2001 From: auricom <27022259+auricom@users.noreply.github.com> Date: Fri, 4 Apr 2025 10:47:37 +0200 Subject: [PATCH] fix: postgres cluster --- .../crunchy-postgres-operator/cluster/cluster.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kubernetes/apps/database/crunchy-postgres-operator/cluster/cluster.yaml b/kubernetes/apps/database/crunchy-postgres-operator/cluster/cluster.yaml index ad17582eb..5fba4eb0d 100644 --- a/kubernetes/apps/database/crunchy-postgres-operator/cluster/cluster.yaml +++ b/kubernetes/apps/database/crunchy-postgres-operator/cluster/cluster.yaml @@ -28,7 +28,7 @@ spec: metadata: labels: app.kubernetes.io/name: crunchy-postgres - replicas: &replica 2 + replicas: &replica 1 dataVolumeClaimSpec: storageClassName: openebs-hostpath accessModes: @@ -155,6 +155,11 @@ spec: full: 0 1 * * 0 # Sunday at 01:00 differential: 0 1 * * 1-6 # Mon-Sat at 01:00 incremental: 0 2-23 * * * # Every hour except 01:00 + restore: + enabled: true + repoName: repo1 + options: + - --set=20250330-010003F # dataSource: # pgbackrest: