Skip to content

Commit

Permalink
fix(render): do not set empty env in werf render without repo param
Browse files Browse the repository at this point in the history
Make werf render work the same way without --repo param as with this param.

Closes #4659

Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Aug 22, 2022
1 parent c88eeb3 commit 2c4bdff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/deploy/helm/chart_extender/helpers/service_values.go
Expand Up @@ -70,9 +70,6 @@ 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 2c4bdff

Please sign in to comment.