File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,10 @@ type ClusterSpec struct {
408408
409409 // Method to follow to upgrade the primary server during a rolling
410410 // update procedure, after all replicas have been successfully updated:
411- // it can be with a switchover (`switchover`) or in-place (`restart` - default)
411+ // it can be with a switchover (`switchover`) or in-place (`restart` - default).
412+ // Note: when using `switchover`, the operator will reject updates that change both
413+ // the image name and PostgreSQL configuration parameters simultaneously to avoid
414+ // configuration mismatches during the switchover process.
412415 // +kubebuilder:default:=restart
413416 // +kubebuilder:validation:Enum:=switchover;restart
414417 // +optional
@@ -1310,7 +1313,10 @@ const (
13101313 PrimaryUpdateStrategyUnsupervised PrimaryUpdateStrategy = "unsupervised"
13111314
13121315 // PrimaryUpdateMethodSwitchover means that the operator will switchover to another updated
1313- // replica when it needs to upgrade the primary instance
1316+ // replica when it needs to upgrade the primary instance.
1317+ // Note: when using this method, the operator will reject updates that change both
1318+ // the image name and PostgreSQL configuration parameters simultaneously to avoid
1319+ // configuration mismatches during the switchover process.
13141320 PrimaryUpdateMethodSwitchover PrimaryUpdateMethod = "switchover"
13151321
13161322 // PrimaryUpdateMethodRestart means that the operator will restart the primary instance in-place
You can’t perform that action at this time.
0 commit comments