This commit is contained in:
liurui
2019-03-11 11:19:39 +08:00
parent 01c9edf7fa
commit 0a1227c2b1
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error {
var clientBuilder controller.ControllerClientBuilder
if c.ComponentConfig.KubeCloudShared.UseServiceAccountCredentials {
if len(c.ComponentConfig.SAController.ServiceAccountKeyFile) == 0 {
// It'c possible another controller process is creating the tokens for us.
// It's possible another controller process is creating the tokens for us.
// If one isn't, we'll timeout and exit when our client builder is unable to create the tokens.
klog.Warningf("--use-service-account-credentials was specified without providing a --service-account-private-key-file")
}