New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for subchart coalesce null values #6146
Conversation
6aea8dc
to
26c0053
Compare
(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. |
26c0053
to
a306dfa
Compare
Signed-off-by: Adam Eijdenberg <adam@continusec.com>
a306dfa
to
cd5715c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 adam@continusec.com
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: