Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(render): missing WERF_KUBE_VERSION env
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Aug 16, 2023
1 parent 0d96fbd commit 810f5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/werf/common/common.go
Expand Up @@ -829,7 +829,7 @@ In development mode (--dev), werf restarts the command on any changes (including

func SetupKubeVersion(cmdData *CmdData, cmd *cobra.Command) {
cmdData.KubeVersion = new(string)
cmd.Flags().StringVarP(cmdData.KubeVersion, "kube-version", "", "", "Set specific Capabilities.KubeVersion (default $WERF_KUBE_VERSION)")
cmd.Flags().StringVarP(cmdData.KubeVersion, "kube-version", "", os.Getenv("WERF_KUBE_VERSION"), "Set specific Capabilities.KubeVersion (default $WERF_KUBE_VERSION)")
}

func allStagesNames() []string {
Expand Down

0 comments on commit 810f5d3

Please sign in to comment.