replaced tokenaccessreview with tokenreview

Kubernetes-commit: b410f77d3140ebc19037e6089d0d45980f0c6edf
This commit is contained in:
Vincent C 2020-02-19 22:41:35 +08:00 committed by Kubernetes Publisher
parent 36e80ea781
commit 27ae2b291d
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ func (s *DelegatingAuthenticationOptions) AddFlags(fs *pflag.FlagSet) {
}
fs.StringVar(&s.RemoteKubeConfigFile, "authentication-kubeconfig", s.RemoteKubeConfigFile, ""+
"kubeconfig file pointing at the 'core' kubernetes server with enough rights to create "+
"tokenaccessreviews.authentication.k8s.io."+optionalKubeConfigSentence)
"tokenreviews.authentication.k8s.io."+optionalKubeConfigSentence)
fs.DurationVar(&s.CacheTTL, "authentication-token-webhook-cache-ttl", s.CacheTTL,
"The duration to cache responses from the webhook token authenticator.")