Browse Source

Merge pull request #3191 from briandowns/update_disable_flags_state

Add hidden attribute to disable flags
pull/3197/head
Brian Downs 4 years ago committed by GitHub
parent
commit
3083059953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      pkg/cli/cmds/server.go

3
pkg/cli/cmds/server.go

@ -343,16 +343,19 @@ func NewServerCommand(action func(*cli.Context) error) cli.Command {
},
cli.BoolFlag{
Name: "disable-api-server",
Hidden: true,
Usage: "(experimental/components) Disable running api server",
Destination: &ServerConfig.DisableAPIServer,
},
cli.BoolFlag{
Name: "disable-controller-manager",
Hidden: true,
Usage: "(experimental/components) Disable running kube-controller-manager",
Destination: &ServerConfig.DisableControllerManager,
},
cli.BoolFlag{
Name: "disable-etcd",
Hidden: true,
Usage: "(experimental/components) Disable running etcd",
Destination: &ServerConfig.DisableETCD,
},

Loading…
Cancel
Save