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
Fix nested null value overrides #5185
Conversation
@aeijdenberg can you fix this by adding metadata to the integration tests? Really want to get this fix in place. |
6c7105b
to
01cd6a0
Compare
@cdenneen - I've found the missing metadata, added it, and removed the nil check. Let me know if you'd like that added back in. (oh, and also re-based on latest |
I’m okay with nil being valid “null” setting but that’s just me |
@aeijdenberg can you add label |
@aeijdenberg can you please add those labels? |
Only admins can attach labels. I've done the needful. |
Thanks @bacongobbler |
Hi I just saw this from #5184 👋 I'm late to the party @cdenneen Quick reply to #5185 (comment): the reason I added these 5 lines in the test initially is that @aeijdenberg re point 4 in the PR description, I'm also not fully sure about other possible impacts of this (second to last) commit: e69e888. @bacongobbler I'd like another set of eyes on that. But, it does fix the 🐛 (the updated tests are great, and I also manually tested with a few different scenarios I'm aware of from community helm/charts) - everything seems to work 💯 |
Hi all, sorry to go quiet on this PR. Am back on deck now - let me know if any changes are desired. |
- External port can always be handled by port-forwarding or Ingress - Allows us to more easily move probes to values (use case: override probe for a sidekiq rails container) - Temporarily comment out probes in order to use other handlers. Follow issue at helm/helm#5185 Signed-off-by: Scott Rigby <scott@r6by.com>
I resolved my last comment. This LGTM 👍 but would still like another set of eyes on the reorganizing commit I mentioned here #5185 (comment) |
Hey @aeijdenberg so that refactor commit looks pretty good, but I want to review it a little more in depth with @scottrigby to make sure it doesn't affect other things. Would you be willing to pop that commit off of this PR and open it as a separate PR? It would allow us to merge this fix and address the refactor in another PR. Thanks for going through the refactoring effort with this code. We really appreciate it! |
01cd6a0
to
0181a36
Compare
- Add ability to test for nested non-existent keys - Add test cases for nested null values - Minimalist fix for nested null key test cases - Add missing metadata to integration test Signed-off-by: Adam Eijdenberg <adam.eijdenberg@digital.gov.au>
0181a36
to
5b9311d
Compare
@thomastaylor312 - done. I've rebased on latest |
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.
Thanks for splitting this. Lgtm
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.
Ok, sorry for the delay. I was talking with some of the other maintainers to make sure that deleting a key wouldn't create any side effects. This LGTM. Thanks for the good work!
Closes #5184
What this PR does / why we need it:
This PR adds tests for setting nested values to
null
and ensure such values are actually deleted.Special notes for your reviewer:
I've split this into 4 commits. They do the following:
If applicable: