Skip to content

Commit

Permalink
recover db
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkfella committed Dec 24, 2024
1 parent 0f5a4c2 commit 51213c1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Cluster
metadata:
name: postgres17
spec:
instances: 3
instances: 2
imageName: ghcr.io/cloudnative-pg/postgresql:17.2-5@sha256:423ad68f6bba1020b6ae5f26aada7e00e2cea18ed1bb2386841a46c40041e808
primaryUpdateStrategy: unsupervised
storage:
Expand Down Expand Up @@ -58,7 +58,7 @@ spec:
endpointURL: ${S3URL}
# Note: serverName version needs to be inclemented
# when recovering from an existing cnpg cluster
serverName: &currentCluster postgres17-v8
serverName: &currentCluster postgres17-v9
s3Credentials:
accessKeyId:
name: *secret
Expand All @@ -70,7 +70,7 @@ spec:
# cluster when recovering from an existing cnpg cluster
bootstrap:
recovery:
source: &previousCluster postgres17-v7
source: &previousCluster postgres17-v8
# Note: externalClusters is needed when recovering from an existing cnpg cluster
externalClusters:
- name: *previousCluster
Expand Down

0 comments on commit 51213c1

Please sign in to comment.