From 9bb322f647d28ba7537408de044ba72ace0d4f93 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Fri, 15 Sep 2017 09:54:53 -0500 Subject: [PATCH] Drop --experimental-bootstrap-token-auth flag. This flag was replaced by `--enable-bootstrap-token-auth` in 1.8 (https://github.com/kubernetes/kubernetes/pull/51198). --- pkg/kubeapiserver/options/authentication.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/kubeapiserver/options/authentication.go b/pkg/kubeapiserver/options/authentication.go index 3acf11d976..9c89512755 100644 --- a/pkg/kubeapiserver/options/authentication.go +++ b/pkg/kubeapiserver/options/authentication.go @@ -180,10 +180,6 @@ func (s *BuiltInAuthenticationOptions) AddFlags(fs *pflag.FlagSet) { } if s.BootstrapToken != nil { - fs.BoolVar(&s.BootstrapToken.Enable, "experimental-bootstrap-token-auth", s.BootstrapToken.Enable, ""+ - "Deprecated (use --enable-bootstrap-token-auth).") - fs.MarkDeprecated("experimental-bootstrap-token-auth", "use --enable-bootstrap-token-auth instead.") - fs.BoolVar(&s.BootstrapToken.Enable, "enable-bootstrap-token-auth", s.BootstrapToken.Enable, ""+ "Enable to allow secrets of type 'bootstrap.kubernetes.io/token' in the 'kube-system' "+ "namespace to be used for TLS bootstrapping authentication.")