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 -1
View File
@@ -627,9 +627,12 @@ func (c *Cluster) patroniKubernetesUseConfigMaps() bool {
if !c.patroniUsesKubernetes() {
return false
}
if c.OpConfig.KubernetesUseConfigMaps == nil {
return true
}
// otherwise, follow the operator configuration
return c.OpConfig.KubernetesUseConfigMaps
return *c.OpConfig.KubernetesUseConfigMaps
}
// Earlier arguments take priority