mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #88332 from fleeto/comments-of-controller-manager
replaced tokenaccessreview with tokenreview
This commit is contained in:
commit
3641953975
@ -213,7 +213,7 @@ func (s *DelegatingAuthenticationOptions) AddFlags(fs *pflag.FlagSet) {
|
|||||||
}
|
}
|
||||||
fs.StringVar(&s.RemoteKubeConfigFile, "authentication-kubeconfig", s.RemoteKubeConfigFile, ""+
|
fs.StringVar(&s.RemoteKubeConfigFile, "authentication-kubeconfig", s.RemoteKubeConfigFile, ""+
|
||||||
"kubeconfig file pointing at the 'core' kubernetes server with enough rights to create "+
|
"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,
|
fs.DurationVar(&s.CacheTTL, "authentication-token-webhook-cache-ttl", s.CacheTTL,
|
||||||
"The duration to cache responses from the webhook token authenticator.")
|
"The duration to cache responses from the webhook token authenticator.")
|
||||||
|
Loading…
Reference in New Issue
Block a user