mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
cloud-controller-manager: improve warning message for --configure-cloud-routes
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
parent
4bee62cfd7
commit
794122dd3e
@ -112,7 +112,7 @@ func startRouteController(ctx *config.CompletedConfig, cloud cloudprovider.Inter
|
|||||||
// If CIDRs should be allocated for pods and set on the CloudProvider, then start the route controller
|
// If CIDRs should be allocated for pods and set on the CloudProvider, then start the route controller
|
||||||
routes, ok := cloud.Routes()
|
routes, ok := cloud.Routes()
|
||||||
if !ok {
|
if !ok {
|
||||||
klog.Warning("configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.")
|
klog.Warning("--configure-cloud-routes is set, but cloud provider does not support routes. Will not configure cloud provider routes.")
|
||||||
return nil, false, nil
|
return nil, false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user