mirror of https://github.com/k3s-io/k3s
add hidden attribute to disable flags
Signed-off-by: Brian Downs <brian.downs@gmail.com>pull/3191/head
parent
18cd9886b1
commit
80e4baf525
|
@ -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…
Reference in New Issue