mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-01 08:37:05 +02:00
The withNeeds function was calling getSelectedReleases with false, false for includeNeeds and includeTransitiveNeeds, which caused it to ignore the --include-needs and --include-transitive-needs flags. This fix: 1. Computes includeNeeds before calling getSelectedReleases 2. Passes the correct flags to getSelectedReleases 3. Sets st.Releases to selectedAndNeededReleases instead of deduplicated 4. Passes IncludeNeeds=false and IncludeTransitiveNeeds=false to PlanReleases since the needs are already included in selectedReleases Signed-off-by: yxxhero <aiopsclub@163.com>