Moving Kubelet --cloud-provider and --cloud-config to configuration

This commit is contained in:
Amim Knabben
2020-04-23 10:19:39 -04:00
parent eda662b2fd
commit 222cae36ec
3 changed files with 5 additions and 7 deletions

View File

@@ -524,9 +524,7 @@ func run(s *options.KubeletServer, kubeDeps *kubelet.Dependencies, featureGate f
if err != nil {
return err
}
if cloud == nil {
klog.V(2).Infof("No cloud provider specified: %q from the config file: %q\n", s.CloudProvider, s.CloudConfigFile)
} else {
if cloud != nil {
klog.V(2).Infof("Successfully initialized cloud provider: %q from the config file: %q\n", s.CloudProvider, s.CloudConfigFile)
}
kubeDeps.Cloud = cloud