Remove deprecated flags from cloud-controller-manager

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Brad Davidson 2022-04-05 16:00:50 -07:00 committed by Brad Davidson
parent 703779c32f
commit 0710a7198a

View File

@ -315,7 +315,6 @@ func cloudControllerManager(ctx context.Context, cfg *config.Control) error {
"authentication-kubeconfig": runtime.KubeConfigCloudController,
"node-status-update-frequency": "1m0s",
"bind-address": getLocalhostIP(cfg.ServiceIPRanges).String(),
"port": "0",
}
if cfg.NoLeaderElect {
argsMap["leader-elect"] = "false"