fix the bug that resulted in helmfile sync not delete releases with --namespace

This commit is contained in:
Yusuke Kuoka
2019-11-07 20:48:55 +09:00
parent 77082cef58
commit e2e4e8440d
2 changed files with 6 additions and 18 deletions
-5
View File
@@ -1242,11 +1242,6 @@ func (st *HelmState) SelectReleasesWithOverrides() ([]Release, error) {
if err != nil {
return nil, err
}
for _, r := range rs {
spec := r.ReleaseSpec
st.ApplyOverrides(&spec)
r.ReleaseSpec = spec
}
return rs, nil
}