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
commit 3083059953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save