Skip to content

Commit

Permalink
Drop --experimental-bootstrap-token-auth flag.
Browse files Browse the repository at this point in the history
This flag was replaced by `--enable-bootstrap-token-auth` in 1.8 (kubernetes#51198).
  • Loading branch information
mattmoyer committed Sep 15, 2017
1 parent 9aef242 commit 9bb322f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/kubeapiserver/options/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 9bb322f

Please sign in to comment.