mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Remove deprecated flags from cloud-controller-manager
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
parent
703779c32f
commit
0710a7198a
@ -315,7 +315,6 @@ func cloudControllerManager(ctx context.Context, cfg *config.Control) error {
|
|||||||
"authentication-kubeconfig": runtime.KubeConfigCloudController,
|
"authentication-kubeconfig": runtime.KubeConfigCloudController,
|
||||||
"node-status-update-frequency": "1m0s",
|
"node-status-update-frequency": "1m0s",
|
||||||
"bind-address": getLocalhostIP(cfg.ServiceIPRanges).String(),
|
"bind-address": getLocalhostIP(cfg.ServiceIPRanges).String(),
|
||||||
"port": "0",
|
|
||||||
}
|
}
|
||||||
if cfg.NoLeaderElect {
|
if cfg.NoLeaderElect {
|
||||||
argsMap["leader-elect"] = "false"
|
argsMap["leader-elect"] = "false"
|
||||||
|
Loading…
Reference in New Issue
Block a user