From b410f77d3140ebc19037e6089d0d45980f0c6edf Mon Sep 17 00:00:00 2001 From: Vincent C Date: Wed, 19 Feb 2020 22:41:35 +0800 Subject: [PATCH] replaced tokenaccessreview with tokenreview --- .../src/k8s.io/apiserver/pkg/server/options/authentication.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/server/options/authentication.go b/staging/src/k8s.io/apiserver/pkg/server/options/authentication.go index 719c2c5f4cc..9a395c94a73 100644 --- a/staging/src/k8s.io/apiserver/pkg/server/options/authentication.go +++ b/staging/src/k8s.io/apiserver/pkg/server/options/authentication.go @@ -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.")