Skip to content

Commit

Permalink
Revert "fix(render): do not set empty env in werf render without repo…
Browse files Browse the repository at this point in the history
… param"

This reverts commit 2c4bdff.

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Sep 1, 2022
1 parent 741fe2c commit 3008ae4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/deploy/helm/chart_extender/helpers/service_values.go
Expand Up @@ -70,6 +70,9 @@ func GetServiceValues(ctx context.Context, projectName, repo string, imageInfoGe
if opts.Env != "" {
globalInfo["env"] = opts.Env
werfInfo["env"] = opts.Env
} else if opts.IsStub {
globalInfo["env"] = ""
werfInfo["env"] = ""
}

if opts.Namespace != "" {
Expand Down

0 comments on commit 3008ae4

Please sign in to comment.