Repository navigation
[backport] bugfix: Override subcharts with null values - #13654
Merged
Merged
Conversation
Signed-off-by: Ryan Hockstad <[email protected]>
- Add consistency for null test in given values, parent chart, subchart, and sub-sub-chart - Remove bar null test to keep consistent with boat=null at top level Signed-off-by: Scott Rigby <[email protected]>
Signed-off-by: Ryan Hockstad <[email protected]>
Signed-off-by: Ryan Hockstad <[email protected]>
|
@scottrigby @joejulian, could you please approve? |
This was referenced Jan 24, 2025
|
@ryanhockstad, thank you! |
scottrigby
approved these changes
Jan 27, 2025
scottrigby
left a comment
Member
There was a problem hiding this comment.
Exact same commits as #12879, this code still applies from main to dev-v3 branch, still passes tests, etc. lgtm 👍
gjenkins8
approved these changes
Jan 27, 2025
This was referenced Jan 27, 2025
simu
added a commit
to projectsyn/component-mimir
that referenced
this pull request
Feb 25, 2025
…h Helm 3.17.1 Helm 3.17.1 has fixed a long-standing bug which affects how sub-chart values are merged in helm/helm#13654. The Commodore 1.27.3 image uses Helm 3.17.1. Somehow, the fix breaks the suggested configuration for the mimir-distributed chart when setting `rbac.type=scc`, since the `null` value overrides for the sub-chart fields are now explicitly visible as fields with value `null`. This breaks the validation logic which checks the presence of the fields We adjust the validation by copying a fixed `validate.yaml` into the downloaded helm chart. However, this now injects `null` values in the rendered manifest, so we also add a postprocessing filter to delete those nulls.
simu
added a commit
to projectsyn/component-mimir
that referenced
this pull request
Jan 20, 2026
…h Helm 3.17.1 Helm 3.17.1 has fixed a long-standing bug which affects how sub-chart values are merged in helm/helm#13654. The Commodore 1.27.3 image uses Helm 3.17.1. Somehow, the fix breaks the suggested configuration for the mimir-distributed chart when setting `rbac.type=scc`, since the `null` value overrides for the sub-chart fields are now explicitly visible as fields with value `null`. This breaks the validation logic which checks the presence of the fields We adjust the validation by copying a fixed `validate.yaml` into the downloaded helm chart. However, this now injects `null` values in the rendered manifest, so we also add a postprocessing filter to delete those nulls.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Backport of this PR.
Special notes for your reviewer: