mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-08 16:30:57 -04:00
kubeadm: fix inverted warning message
Before this commit when setting bindAddress to 1.2.3.4 the warning was: The recommended value for "bindAddress" in "KubeProxyConfiguration" is: 1.2.3.4; the provided value is: 0.0.0.0 Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
This commit is contained in:
parent
c04157895c
commit
356d9e0626
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ func (kp *kubeProxyConfig) Default(cfg *kubeadmapi.ClusterConfiguration, localAP
|
|||
if kp.config.BindAddress == "" {
|
||||
kp.config.BindAddress = defaultBindAddress
|
||||
} else if kp.config.BindAddress != defaultBindAddress {
|
||||
warnDefaultComponentConfigValue(kind, "bindAddress", kp.config.BindAddress, defaultBindAddress)
|
||||
warnDefaultComponentConfigValue(kind, "bindAddress", defaultBindAddress, kp.config.BindAddress)
|
||||
}
|
||||
|
||||
if kp.config.ClusterCIDR == "" && cfg.Networking.PodSubnet != "" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue