Option to run the operator out of cluster.

This commit is contained in:
Oleksii Kliukin
2017-05-08 12:10:27 +02:00
committed by Murat Kabilov
parent b3a9516bae
commit e96f8a80ee
3 changed files with 14 additions and 13 deletions
+1
View File
@@ -16,6 +16,7 @@ var options controller.Options
func init() {
pflag.StringVar(&options.KubeConfig, "kubeconfig", "", "Path to kubeconfig file with authorization and master location information.")
pflag.BoolVar(&options.OutOfCluster, "outofcluster", false, "Whether the operator runs in- our outside of the Kubernetes cluster.")
}
func main() {