helmfile/pkg
yxxhero 16e408b8ea Fix include-needs to correctly handle direct vs transitive dependencies
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>
2026-03-15 19:44:35 +08:00
..
app Fix include-needs to correctly handle direct vs transitive dependencies 2026-03-15 19:44:35 +08:00
argparser
cluster feat: kubedog integration with unified resource handling (#2383) 2026-03-02 17:15:12 +08:00
config fix: use config for IncludeNeeds in WriteValues command 2026-03-15 10:27:12 +08:00
environment
envvar
errors
event
exectest
filesystem
hcllang feat: Add IP Network to supported HCL Functions (#2426) 2026-02-26 17:20:48 +08:00
helmexec
kubedog feat: add helm-legacy track mode for Helm v4 compatibility (#2466) 2026-03-08 11:51:14 +08:00
maputil
plugins
policy
remote
resource feat: kubedog integration with unified resource handling (#2383) 2026-03-02 17:15:12 +08:00
runtime
state fix: include-needs should only include direct dependencies, not transitive 2026-03-15 15:33:45 +08:00
testhelper
testutil
tmpl
yaml