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
+1 -1
View File
@@ -177,7 +177,7 @@ type Config struct {
ConnectionPooler
WatchedNamespace string `name:"watched_namespace"` // special values: "*" means 'watch all namespaces', the empty string "" means 'watch a namespace where operator is deployed to'
KubernetesUseConfigMaps bool `name:"kubernetes_use_configmaps" default:"false"`
KubernetesUseConfigMaps *bool `name:"kubernetes_use_configmaps" default:"true"`
EtcdHost string `name:"etcd_host" default:""` // special values: the empty string "" means Patroni will use K8s as a DCS
EnableMaintenanceWindows *bool `name:"enable_maintenance_windows" default:"true"`
MaintenanceWindows []string `name:"maintenance_windows"`