Repository navigation
Introduce import-values strategy + revert default strategy for backwards compat - #11162
Cybermaxke wants to merge 1 commit into
Conversation
…rds compat Signed-off-by: Seppe Volkaerts <[email protected]>
|
This PR looks to be waiting for approval for some long time. Asking here in order to understand if not accepting (yet) this PR is only because Helm guys allowed to accept it are overloaded ... or is it because they see some "issues/problems" on accepting it (?). Thanks in advance. |
|
Yes, the project does need more maintainers. If you're interested, the first step is contributing code. Come join the developer meeting, if you can: https://github.com/helm/community/blob/main/communication.md#meetings. Post your interest in becoming a maintainer on the mailing list. I also recommend familiarizing yourself with the existing hips Even if you're not interested in becoming a maintainer, the developer meeting is a great place to meet the maintainers and shed light on issues or PRs that need attention. |
|
Hello! |
|
Hello @joejulian , |
|
I'm just a triage maintainer. No promises 😕. That's the first opportunity for it to be released. Actual inclusion depends on the core maintainers. |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
|
Needs rebase onto |
|
This pull request has been marked as stale because it has been open for 90 days with no activity. This pull request will be automatically closed in 30 days if no further activity occurs. |
What this PR does / why we need it:
With the introduction of a bug fix #9940 5d017e1 there was a breaking introduced that makes it no longer possible to import values from a sub-chart that override values that are already defined in the importing chart. This issue is described in #10899
Between the original behavior and the one that "fixed" there are two possible scenarios for a string value:
Something else I noticed is that the ifNotPresent behavior was already applied to an import-values entry with child and parent paths before, so it was not consistently implemented even before the "fix". Even though the helm docs mention "override" behavior.
So the aim of this PR is to revert the breaking changes, which should happen at major versions. And additionally introduce a "strategy" to explictly define the behavior (naming can still be discussed). Adding the strategy looks at follows:
A few todos/questions:
Closes #10899
Special notes for your reviewer:
If applicable: