From 9c287623182101f12ff1f0424df2aa78afa4bb9d Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Tue, 10 Dec 2024 19:14:09 +0000 Subject: [PATCH] Sync flags from k3s Signed-off-by: Brad Davidson --- pkg/cli/cmds/server.go | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pkg/cli/cmds/server.go b/pkg/cli/cmds/server.go index 574e431844..ce67d278b9 100644 --- a/pkg/cli/cmds/server.go +++ b/pkg/cli/cmds/server.go @@ -27,18 +27,21 @@ var ( } k3sServerBase = mustCmdFromK3S(cmds.NewServerCommand(ServerRun), K3SFlagSet{ - "config": copyFlag, - "debug": copyFlag, - "v": hideFlag, - "vmodule": hideFlag, - "log": hideFlag, - "alsologtostderr": hideFlag, - "bind-address": copyFlag, - "https-listen-port": dropFlag, - "advertise-address": copyFlag, - "advertise-port": dropFlag, - "tls-san": copyFlag, - "tls-san-security": copyFlag, + "config": copyFlag, + "debug": copyFlag, + "v": hideFlag, + "vmodule": hideFlag, + "log": hideFlag, + "alsologtostderr": hideFlag, + "bind-address": copyFlag, + "https-listen-port": dropFlag, + "supervisor-port": dropFlag, + "apiserver-port": dropFlag, + "apiserver-bind-address": dropFlag, + "advertise-address": copyFlag, + "advertise-port": dropFlag, + "tls-san": copyFlag, + "tls-san-security": copyFlag, "data-dir": { Usage: "(data) Folder to hold state", Default: rke2Path,