Skip to content
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

Fix pd deleting admission webhook bug (#1568) #1574

Merged
merged 8 commits into from
Jan 16, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Jan 16, 2020

cherry-pick #1568 to release-1.1


What problem does this PR solve?

#1567
Fix PD deleting admission webhook bug and add unit tests to cover this case.
I also found there were some bugs in the previous unit test and I fixed it in this request.

Does this PR introduce a user-facing change?:

* Fix the bug for admission webhook which cause pd pod deleting error
* Permit the deleting pod request for pd and tikv when PVC is not found in admission webhook

@sre-bot sre-bot added area/webhook Related to webhook status/PTAL PR needs to be reviewed type/1.1 cherry-pick type/bug Something isn't working labels Jan 16, 2020
Copy link
Contributor

@aylei aylei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aylei
Copy link
Contributor

aylei commented Jan 16, 2020

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Jan 16, 2020

/run-all-tests

Copy link
Contributor

@DanielZhangQD DanielZhangQD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sre-bot sre-bot merged commit 82a41cd into pingcap:release-1.1 Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/webhook Related to webhook status/can-merge status/PTAL PR needs to be reviewed type/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants