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 <[email protected]>
  • Loading branch information
brandond committed Dec 10, 2024
1 parent b17921c commit b834f15
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 b834f15

Please sign in to comment.