Skip to content

Commit

Permalink
Correct the 'in-cluster' env var (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
CKarper authored and olegsu committed Aug 11, 2019
1 parent 0a05c03 commit 4657dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0
0.4.1
2 changes: 1 addition & 1 deletion cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]")
Expand Down

0 comments on commit 4657dde

Please sign in to comment.