mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 21:01:41 +02:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user