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
correctly identify defaulted values fields in AppInstalls #13171
correctly identify defaulted values fields in AppInstalls #13171
Conversation
Signed-off-by: Simon Bein <simontheleg@gmail.com>
/milestone KKP 2.25 |
LGTM label has been added. Git tree hash: 8e5041dd3f9dc31cb73640bbb1eb293516800b15
|
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahmedwaleedmalik The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
I mistakenly assumed in the unit tests that "runtime.RawExtension{}" would be the same as the defaulting that k8s apiserver does. But what it actually does is unmarshal it at some point resulting in the string
{}
to be used instead of it being completely empty. This updates our code and the corresponding test.Which issue(s) this PR fixes:
Fixes an issue discovered during #13096
What type of PR is this?
/kind bug
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:
Documentation: