document changed configmap default (#3116)

* document changed configmap default
* update config reference
* add warning message in sync
* address review comments
This commit is contained in:
Felix Kunde
2026-07-02 14:04:57 +02:00
committed by GitHub
parent 1227fc2e1c
commit a3d17c12d2
13 changed files with 66 additions and 37 deletions
+4
View File
@@ -67,6 +67,10 @@ func (c *Cluster) Sync(newSpec *acidv1.Postgresql) error {
}
}()
if !c.patroniKubernetesUseConfigMaps() {
c.logger.Warning("K8s endpoints are deprecated. Please, enable kubernetes_use_configmaps. Requires scale-in to a single primary, see v1 -> v2 migration docs!")
}
if err = c.syncFinalizer(); err != nil {
c.logger.Debugf("could not sync finalizers: %v", err)
}