lastErr=fmt.Errorf("the TokenRequest feature is not enabled but --service-account-signing-key-file and/or --service-account-issuer-id flags were passed")
lastErr=fmt.Errorf("service-account-signing-key-file, service-account-issuer, service-account-api-audiences and service-account-key-file should be specified together")
glog.Warningf("the webhook cache ttl of %s is shorter than the overall cache ttl of %s for successful token authentication attempts.",s.WebHook.CacheTTL,s.TokenSuccessCacheTTL)
glog.Warningf("the webhook cache ttl of %s is shorter than the overall cache ttl of %s for failed token authentication attempts.",s.WebHook.CacheTTL,s.TokenFailureCacheTTL)
}
}
}
}
returnret
returnret
...
@@ -340,42 +124,13 @@ func (o *BuiltInAuthenticationOptions) ApplyTo(c *genericapiserver.Config) error
...
@@ -340,42 +124,13 @@ func (o *BuiltInAuthenticationOptions) ApplyTo(c *genericapiserver.Config) error
glog.Errorf("Accelerators feature is supported with docker runtime only. Disabling this feature internally.")
glog.Warningln("Accelerators feature is deprecated and will be removed in v1.11. Please use device plugins instead. They can be enabled using the DevicePlugins feature gate.")