-
Notifications
You must be signed in to change notification settings - Fork 275
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
Make LossLessDefaulter selective to only prevent dropping fields outside of schema #3315
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mbobrovskyi The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/cc @mimowo |
/retest |
so this is matching kubernetes-sigs/controller-runtime#2982, right? |
Yes, I created a PR here to fix it in Kueue. After kubernetes-sigs/controller-runtime#2982 is merged, we can remove it here. |
Yes, and we also did it to check all the tests we developed testing other solutions pass with this approach - to gain more confidence in it. Indeed, if the fix is merged for controller-runtime I think we don't need to merge it in kueue. |
That will take time to trickle. OTOH, the current solution works for all of our webhooks today. |
/hold Looks like kubernetes-sigs/controller-runtime#2982 almost done. |
Even if it gets merged, it will take some time for it be part of a release and for kueue to use that release. |
I think we have time to wait for now, because the current solution works fine as long as the webhooks don't remove fields. I opened #3469 to track it. |
/close |
@mbobrovskyi: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Make
LossLessDefaulter
selective to only prevent dropping fields outside of schema.Which issue(s) this PR fixes:
Fixes #3174
Special notes for your reviewer:
Does this PR introduce a user-facing change?