mirror of https://github.com/helm/helm
Changes dependency evaluation to use AND logic instead of OR logic when both tags and conditions are specified for a chart dependency. Previously, a chart would be installed if either the tag was true OR the condition was true. Now, both the tag AND condition must be true for the chart to be installed. This allows users to disable entire groups of charts using tags, regardless of individual chart conditions, which is the expected behavior described in issue #31604. Breaking change: Charts that relied on conditions overriding tags will now need both the tag and condition to be true. Changes: - Modified processDependencyConditions() to use AND logic (r.Enabled && bv) - Added test cases for AND logic behavior - Updated existing test expectations to match new behavior Fixes #31604 Signed-off-by: Azeez Syed <syedazeez337@gmail.com>pull/31608/head
parent
5bab984cef
commit
56012c0257
Loading…
Reference in new issue