Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: add WERF_NELM var (same as WERF_EXPERIMENTAL_DEPLOY_ENGINE)
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed Dec 29, 2023
1 parent 58cbf02 commit 455d293
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkg/deploy/helm/init.go
Expand Up @@ -24,7 +24,15 @@ import (
)

func IsExperimentalEngine() bool {
return util.GetBoolEnvironmentDefaultFalse("WERF_EXPERIMENTAL_DEPLOY_ENGINE")
if isNelm, set := util.LookupBoolEnvironment("WERF_NELM"); set {
return *isNelm
}

if isNelm, set := util.LookupBoolEnvironment("WERF_EXPERIMENTAL_DEPLOY_ENGINE"); set {
return *isNelm
}

return false
}

type InitActionConfigOptions struct {
Expand Down

0 comments on commit 455d293

Please sign in to comment.