Skip to content

Commit 333e329

Browse files
committed
K8SPG-704: Add create replica methods
1 parent c79a219 commit 333e329

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

charts/pg-db/templates/cluster.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,10 @@ spec:
518518
targetInstance: {{ .Values.patroni.switchover.targetInstance }}
519519
{{- end }}
520520
{{- end }}
521+
{{- if .Values.patroni.createReplicaMethods }}
522+
createReplicaMethods:
523+
{{ .Values.patroni.createReplicaMethods | toYaml | indent 6 }}
524+
{{- end }}
521525
{{- end }}
522526

523527
{{- if .Values.extensions }}

charts/pg-db/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,9 @@ pmm:
515515
# switchover:
516516
# enabled: "true"
517517
# targetInstance: ""
518+
# createReplicaMethods:
519+
# - pgbackrest
520+
# - basebackup
518521

519522
# extensions:
520523
# image: percona/percona-postgresql-operator:2.6.0

0 commit comments

Comments
 (0)