Repository navigation
Add test for subchart coalesce null values - #6146
Conversation
|
(I had to force push with slightly amended commit message a few times until I managed to get the build to pass - it seems there might be some unrelated flaky tests or builds?) |
|
Thank you for working on this. We really appreciate it. @sgillespie would you mind testing to see if this fix works for you? |
|
This does not seem to fix it for me. Consider a default value in a subchart: Overridden with: The result (2.14.2): And this patch: |
|
FWIW I'm testing with |
|
@sgillespie is right - this still doesn't fix the I've had another look today - sadly I don't think I'm going to be able to fix this easily - and I don't have the capacity available to learn the code base to fully fix it. The underlying problem so far as I can tell is that However with the behavior now of removing I think the right way to fix is likely to stop removing |
|
This looks to have been fixed in #6080. |
Signed-off-by: Adam Eijdenberg <[email protected]>
hickeyma
left a comment
There was a problem hiding this comment.
In conjunction with PR #6080 and validation in #6146 (comment), LGTM.
Since coalesce can sometimes be called more than once, make sure
that we don't drop keys until right at the end, else they can lose
their meaning (and allow the original value to come through).
More tests would be welcome.
Signed-off-by: Adam Eijdenberg [email protected]
Closes #5184 (at least hopefully improves the situation)
What this PR does / why we need it:
#5184 caused a regress for subchart values. This attempts to fix it.
Special notes for your reviewer:
If applicable: