-
Notifications
You must be signed in to change notification settings - Fork 39.9k
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 ResourceVersion to DeleteOptions.Preconditions #74040
Conversation
Hi @ajatprabha. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
/assign @lavalamp |
/ok-to-test /assign @jennybuckley |
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.
This probably needs a release note since it changes the API
@kubernetes/api-reviewers
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
Outdated
Show resolved
Hide resolved
I need help with failing Integration tests at |
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/etcd.go
Outdated
Show resolved
Hide resolved
1e151fd
to
40d2a5b
Compare
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
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.
This looks basically ready to go, thanks for the change! After API reviewer sign off (I would do it here but there's a new process) this should merge and then I think the last thing to do is a documentation update.
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
Outdated
Show resolved
Hide resolved
I meant to lgtm/approve this right after last API Machinery SIG meeting and (clearly) it didn't happen. Now it is code freeze so we need some sort of exception I'm sure :( My schedule today is... full, so I'm not going to have a chance to look up the process. @ajatprabha if you have time to do that, I'm happy to sponsor or vouch for the change if that's a part of the process. |
/test pull-kubernetes-godeps |
/test pull-kubernetes-e2e-gce |
/milestone v1.14 |
/approve Thanks for the change! |
(Just FYI, I would ask for a squash but I don't want to risk another rebase...) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ajatprabha, lavalamp 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 type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds ResourceVersion as a precondition for delete in order to ensure a delete fails if an unobserved change happens to an object.
Which issue(s) this PR fixes:
Fixes #73648
Does this PR introduce a user-facing change?: