returnfmt.Errorf("error creating kubelet base configmap RBAC rules: %v",err)
}
}
// Try to start the kubelet service in case it's inactive
preflight.TryStartKubelet()
// waiter holds the apiclient.Waiter implementation of choice, responsible for querying the API server in various ways and waiting for conditions to be fulfilled
// waiter holds the apiclient.Waiter implementation of choice, responsible for querying the API server in various ways and waiting for conditions to be fulfilled
// This call is blocking until one of the goroutines sends to errorChan
// This call is blocking until one of the goroutines sends to errorChan
return<-errorChan
return<-errorChan
}
}
// CreateKubeletBaseConfigMapRBACRules creates the RBAC rules for exposing the kubelet base ConfigMap in the kube-system namespace to unauthenticated users