Skip to content

Commit 7a9c6ef

Browse files
authored
fix: allow configuring kubeconfig flag (#221)
1 parent 3b63918 commit 7a9c6ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/config.go

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ type CommonServiceConfig struct {
6060
func CommonFlags() *pflag.FlagSet {
6161
flagSet := pflag.NewFlagSet("common", pflag.ContinueOnError)
6262

63+
flagSet.String("kubeconfig", "", "Set the kubeconfig path")
6364
flagSet.String("debug-label-value", "", "Set the debug label value")
6465
flagSet.Int("max-concurrent-reconciles", 1, "Set the max concurrent reconciles")
6566
flagSet.String("environment", "local", "Set the environment")

0 commit comments

Comments
 (0)