From 6324cdff27327eee97d846ad4a63da9c7195a317 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 e3fb75f695..a1b100ef91 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,