-
Notifications
You must be signed in to change notification settings - Fork 440
✨Deprecate the duplicated kubebuilder:validation:XPreserveUnknownFields marker. #422
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
✨Deprecate the duplicated kubebuilder:validation:XPreserveUnknownFields marker. #422
Conversation
/assign @droot |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
A quick survey says that this marker is actually still being used, so I'm going to tweak this to deprecate it for the moment then merge. |
It's a duplicate of pruning:PreserveUnknownFields, so we should eventually remove it, but it's seeing some use in the wild. Some folks use it at type-level, so port the `pruning:` variant to suppor that as well.
This adds a test for type-level `pruning:PreserveUnknownFields` to the crd test.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: DirectXMan12, jiachengxu 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 |
Remove the duplicated kubebuilder:validation:XPreserveUnknownFields marker.
Fixes #380