mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-17 23:26:02 +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:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user