You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, errors.Wrapf(err, "unable to get internal Kubernetes Service IP from the given service CIDR (%s)", d.cfg.Networking.ServiceSubnet)
518
+
returnnil, err
508
519
}
509
-
// If we're dry-running, we should create a faked client that answers some GETs in order to be able to do the full init flow and just logs the rest of requests
// waiter holds the apiclient.Waiter implementation of choice, responsible for querying the API server in various ways and waiting for conditions to be fulfilled
83
83
klog.V(1).Infoln("[wait-control-plane] Waiting for the API server to be healthy")
84
84
85
-
client, err:=data.Client()
85
+
// WaitForAPI uses the /healthz endpoint, thus a client without permissions works fine
86
+
client, err:=data.ClientWithoutBootstrap()
86
87
iferr!=nil {
87
-
returnerrors.Wrap(err, "cannot obtain client")
88
+
returnerrors.Wrap(err, "cannot obtain client without bootstrap")
0 commit comments