From 4657ddefbf8dfd75947f01127322323656974269 Mon Sep 17 00:00:00 2001 From: Christopher Karper Date: Sat, 10 Aug 2019 23:05:08 -0400 Subject: [PATCH] Correct the 'in-cluster' env var (#38) --- VERSION | 2 +- cmd/run.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 1d0ba9e..267577d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 +0.4.1 diff --git a/cmd/run.go b/cmd/run.go index 9b1c41d..5d198d2 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -52,7 +52,7 @@ func init() { viper.BindEnv("kube", "KUBECONFIG") - viper.BindEnv("inCluster", "KUBECONFIG") + viper.BindEnv("inCluster", "IRIS_IN_CLUSTER") runCmd.Flags().StringVar(&runCmdOptions.file, "iris-file", viper.GetString("file"), "Iris yaml config file [$IRIS_FILE]") runCmd.Flags().StringVar(&runCmdOptions.kube, "kube-config", viper.GetString("kube"), "Path to kube-config file (default is ~/.kube/config) [$KUBECONFIG]")