in pkg/flags/flags.go [40:64]
func Register() {
flag.StringVar(&F.APIServerHost, "apiserver-host", "",
`The address of the Kubernetes Apiserver to connect to in the format of
protocol://address:port, e.g., http://localhost:8080. If not specified, the
assumption is that the binary runs inside a Kubernetes cluster and local
discovery is attempted.`)
flag.StringVar(&F.GCEConfigFilePath, "gce-config-file-path", "",
"Path to a file containing the gce config.")
flag.StringVar(&F.KubeConfigFilePath, "kube-config-file-path", "",
"Path to kubeconfig file with authorization and master location information.")
flag.StringVar(&F.PrometheusAddress, "prometheus-address", ":8910",
"The address to expose Prometheus metrics")
flag.DurationVar(&F.ResyncInterval, "resync-interval", 10*time.Minute,
"How often to synchronize the controller state with external world.")
flag.StringVar(&F.HealthCheckAddress, "health-check-address", ":8089",
"The address to expose health check endpoint.")
flag.StringVar(&F.HealthCheckPath, "health-check-path", "/health-check",
"The path to expose health check endpoint.")
flag.DurationVar(&F.HealthCheckInterval, "health-check-interval", 5*time.Second,
"How often to run the health checks.")
flag.StringVar(&F.ServiceAccount, "service-account", "",
"Service account to use for fetching access tokens from GCE metadata server.")
flag.Parse()
}