Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-cluster flag #212

Merged
merged 1 commit into from
Apr 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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