feat(cluster): add `spec.postgresql.synchronous.failoverQuorum` field by leonardoce · Pull Request #8589 · cloudnative-pg/cloudnative-pg
label
Sep 17, 2025
leonardoce
changed the title
feat: add
feat: add spec.postgresql.synchronous.failoverQuorum field to Clust…spec.postgresql.synchronous.failoverQuorum field to Cluster
gbartolini
changed the title
feat: add
feat(cluster): add spec.postgresql.synchronous.failoverQuorum field to Clusterspec.postgresql.synchronous.failoverQuorum field
…er CRD This patch introduces a native configuration field, `spec.postgresql.synchronous.failoverQuorum`, which allows users to enable or disable the failover quorum feature directly in the Cluster spec. Behavior for existing clusters using the `alpha.cnpg.io/failoverQuorum` annotation remains unchanged: the mutating webhook will automatically set the new field to honor the annotation. If both the annotation and the field are set, the annotation takes precedence. See: cloudnative-pg#8170 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This was referenced
Sep 29, 2025rossigee pushed a commit to rossigee/cloudnative-pg that referenced this pull request
Oct 2, 2025…cloudnative-pg#8589) Introduce a native configuration field, `spec.postgresql.synchronous.failoverQuorum`, allowing users to enable or disable the failover quorum feature directly in the `Cluster` spec. Existing clusters using the `alpha.cnpg.io/failoverQuorum` annotation are unaffected: the mutating webhook automatically sets the new field to honour the annotation. The annotation takes precedence if both the annotation and the field are set. Deprecation notice: the `alpha.cnpg.io/failoverQuorum` annotation is deprecated. Users are encouraged to migrate to the native `.spec.postgresql.synchronous.failoverQuorum` option and remove the annotation from their manifests. The annotation will be removed in a future release. Closes cloudnative-pg#8170 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
THE-BRAHMA pushed a commit to THE-BRAHMA/cloudnative-pg that referenced this pull request
Oct 30, 2025…cloudnative-pg#8589) Introduce a native configuration field, `spec.postgresql.synchronous.failoverQuorum`, allowing users to enable or disable the failover quorum feature directly in the `Cluster` spec. Existing clusters using the `alpha.cnpg.io/failoverQuorum` annotation are unaffected: the mutating webhook automatically sets the new field to honour the annotation. The annotation takes precedence if both the annotation and the field are set. Deprecation notice: the `alpha.cnpg.io/failoverQuorum` annotation is deprecated. Users are encouraged to migrate to the native `.spec.postgresql.synchronous.failoverQuorum` option and remove the annotation from their manifests. The annotation will be removed in a future release. Closes cloudnative-pg#8170 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: theBrahma <office.utpal.brahma@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters