-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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 delete waits match on UID #66136
Conversation
5881e42
to
9fe20cf
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, liggitt 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 |
/sig cli |
[MILESTONENOTIFIER] Milestone Pull Request: Up-to-date for process Pull Request Labels
|
/test all [submit-queue is verifying that this PR is safe to merge] |
/test pull-kubernetes-e2e-kops-aws |
Automatic merge from submit-queue (batch tested with PRs 66136, 64999, 65425, 66120, 66074). If you want to cherry-pick this change to another branch, please follow the instructions here. |
…#66136-upstream-release-1.11 Automatic merge from submit-queue. Automated cherry pick of #65370: delete should tolerate a failed wait because of missing verbs #66136: make delete waits match on UID Cherry pick of #65370 #66136 on release-1.11. #65370: delete should tolerate a failed wait because of missing verbs #66136: make delete waits match on UID ```release-note fixes `kubectl delete` failures when the resource being deleted doesn't support get/watch, or when the resource is rapidly recreated with the same name ```
If you delete an object, there is a race where something can recreate it with a different UID and the wait will wait forever. This allows passing a UID through
@kubernetes/sig-cli-maintainers
@soltysh @liggitt