Skip to content

Commit

Permalink
Merge pull request #212 from nicksardo/new-flag
Browse files Browse the repository at this point in the history
Add multi-cluster flag
  • Loading branch information
nicksardo authored Apr 12, 2018
2 parents 6c29608 + a714f55 commit 7009a6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var (
DefaultSvc string
DeleteAllOnQuit bool
GCERateLimit RateLimitSpecs
MultiCluster bool
HealthCheckPath string
HealthzPort int
Features *Features
Expand Down Expand Up @@ -123,6 +124,8 @@ values.`)
flag.BoolVar(&F.InCluster, "running-in-cluster", true,
`Optional, if this controller is running in a kubernetes cluster, use
the pod secrets for creating a Kubernetes client.`)
flag.BoolVar(&F.MultiCluster, "multi-cluster", false,
`enables the controller to run in multi-cluster mode.`)
flag.StringVar(&F.KubeConfigFile, "kubeconfig", "",
`Path to kubeconfig file with authorization and master location information.`)
flag.DurationVar(&F.ResyncPeriod, "sync-period", 30*time.Second,
Expand Down

0 comments on commit 7009a6f

Please sign in to comment.