From f241bdaf4d33180a977b5bd20363682dd619f515 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 15 Aug 2023 19:23:45 +0000 Subject: [PATCH] setup bootstrap from backup config. --- kubernetes/apps/fediverse/mastodon/app/cnpg/cluster.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/fediverse/mastodon/app/cnpg/cluster.yaml b/kubernetes/apps/fediverse/mastodon/app/cnpg/cluster.yaml index c6860d0..d86e96d 100644 --- a/kubernetes/apps/fediverse/mastodon/app/cnpg/cluster.yaml +++ b/kubernetes/apps/fediverse/mastodon/app/cnpg/cluster.yaml @@ -18,6 +18,9 @@ spec: storageClass: ceph-block superuserSecret: name: cloudnative-pg-secret + bootstrap: + recovery: + source: &previousCluster postgres-v3 postgresql: parameters: max_connections: "600" @@ -25,8 +28,6 @@ spec: monitoring: enablePodMonitor: true backup: - recovery: - source: &previousCluster postgres-v3 retentionPolicy: 30d barmanObjectStore: wal: