mirror of https://github.com/k3s-io/k3s
Merge pull request #3191 from briandowns/update_disable_flags_state
Add hidden attribute to disable flagspull/3197/head
commit
3083059953
|
@ -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…
Reference in New Issue