Skip to content

Commit

Permalink
Sync flags from k3s
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Dec 11, 2024
1 parent b33be3a commit 6744c9c
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions pkg/cli/cmds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6744c9c

Please sign in to comment.