mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
21d21ddd4d
Signed-off-by: Darren Shepherd <darren@rancher.com>
18 lines
417 B
Go
18 lines
417 B
Go
package cmds
|
|
|
|
import (
|
|
"github.com/rancher/k3s/pkg/version"
|
|
"github.com/urfave/cli"
|
|
)
|
|
|
|
var (
|
|
// ConfigFlag is here to show to the user, but the actually processing is done by configfileargs before
|
|
// call urfave
|
|
ConfigFlag = cli.StringFlag{
|
|
Name: "config,c",
|
|
Usage: "(config) Load configuration from `FILE`",
|
|
EnvVar: "K3S_CONFIG_FILE",
|
|
Value: "/etc/rancher/" + version.Program + "/config.yaml",
|
|
}
|
|
)
|