diff --git a/pkg/app/app.go b/pkg/app/app.go index 9eba6e0a..6e2c225f 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -1511,7 +1511,7 @@ Do you really want to apply? // We deleted releases by traversing the DAG in reverse order if len(releasesToBeDeleted) > 0 { - _, deletionErrs := withDAG(st, helm, a.Logger, state.PlanOptions{Reverse: true, SelectedReleases: toDelete, SkipNeeds: true}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error { + _, deletionErrs := withDAG(st, helm, a.Logger, state.PlanOptions{Reverse: true, SelectedReleases: toDelete, SkipNeeds: c.SkipNeeds(), IncludeNeeds: c.IncludeNeeds(), IncludeTransitiveNeeds: c.IncludeTransitiveNeeds()}, a.WrapWithoutSelector(func(subst *state.HelmState, helm helmexec.Interface) []error { var rs []state.ReleaseSpec for _, r := range subst.Releases {