INNER CODE UNIT · Go
initKubeConfigFlags
derailed/popeye · cmd/root.go:180
func initKubeConfigFlags() {
rootCmd.Flags().StringVar(
flags.KubeConfig,
"kubeconfig",
"",
"Path to the kubeconfig file to use for CLI requests",
)
rootCmd.Flags().StringVar(
flags.Context,
"context",
"",
"The name of the kubeconfig context to use",
)
rootCmd.Flags().StringVar(
flags.ClusterName,
"cluster",