From 8461d5f8d910bfb689c7bd551efeb59d1fe817a6 Mon Sep 17 00:00:00 2001 From: junxu Date: Thu, 15 Mar 2018 02:22:55 -0400 Subject: [PATCH] Remove deprecated paramter "authorization-rbac-super-user" --- pkg/kubeapiserver/options/authorization.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/kubeapiserver/options/authorization.go b/pkg/kubeapiserver/options/authorization.go index 88c04e7e11..44b378a4a6 100644 --- a/pkg/kubeapiserver/options/authorization.go +++ b/pkg/kubeapiserver/options/authorization.go @@ -68,12 +68,6 @@ func (s *BuiltInAuthorizationOptions) AddFlags(fs *pflag.FlagSet) { fs.DurationVar(&s.WebhookCacheUnauthorizedTTL, "authorization-webhook-cache-unauthorized-ttl", s.WebhookCacheUnauthorizedTTL, "The duration to cache 'unauthorized' responses from the webhook authorizer.") - - fs.String("authorization-rbac-super-user", "", ""+ - "If specified, a username which avoids RBAC authorization checks and role binding "+ - "privilege escalation checks, to be used with --authorization-mode=RBAC.") - fs.MarkDeprecated("authorization-rbac-super-user", "Removed during alpha to beta. The 'system:masters' group has privileged access.") - } func (s *BuiltInAuthorizationOptions) Modes() []string {