Browse Source

add hidden attribute to disable flags

Signed-off-by: Brian Downs <brian.downs@gmail.com>
pull/3191/head
Brian Downs 4 years ago
parent
commit
80e4baf525
  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