mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-01 13:35:41 +02:00
The DAG's WithDependencies option was incorrectly including transitive dependencies when only direct dependencies were requested. This fix: 1. Builds the DAG with only unfiltered releases and their dependencies 2. Uses the unfiltered release IDs as the Only parameter when IncludeNeeds is true 3. Sets WithDependencies to false since all needed releases are already in the DAG This ensures that --include-needs only includes direct dependencies of selected releases, while --include-transitive-needs continues to include all transitive dependencies. Fixes #1003 Signed-off-by: yxxhero <aiopsclub@163.com>