update resource selector - kubectl drain#54083
update resource selector - kubectl drain#54083k8s-github-robot merged 2 commits intokubernetes:masterfrom
Conversation
|
Hi @juanvallejo. 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 I understand the commands that are listed here. DetailsInstructions 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. I understand the commands that are listed here. |
|
@juanvallejo: GitHub didn't allow me to assign the following users: liggit. Note that only kubernetes members can be assigned. DetailsIn 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/test-infra repository. |
|
/assign liggitt |
|
/ok-to-test |
|
/lgtm cancel causes failures in some invocations (see run_cluster_management_tests in test-cmd): |
|
@liggitt thanks, had forgotten to update one of the cmd-tests for cordon/uncordon which previously expected all nodes to be selected when an empty selector value was passed |
hack/make-rules/test-cmd-util.sh
Outdated
There was a problem hiding this comment.
do you have a negative selector test? (pass a selector that doesn't match anything)
There was a problem hiding this comment.
Will add one, thanks
28e3de9 to
5f48d45
Compare
|
@liggitt thanks for the feedback, added a negative selector test |
5f48d45 to
bb86297
Compare
|
@liggitt friendly ping |
|
/lgtm |
|
@juanvallejo: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
/retest |
|
/approve |
|
/approve no-issue |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabianofranz, juanvallejo, liggitt Associated issue requirement bypassed by: fabianofranz The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
…rain Automatic merge from submit-queue (batch tested with PRs 17072, 17616). Add --selector, --pod-selector flags `oc adm drain` Fixes #17554 Fixes #17563 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1525340 Picks kubernetes/kubernetes#52917, kubernetes/kubernetes#54083, and kubernetes/kubernetes#56864 to bring in `--selector` and `--pod-selector` flag support to `oc adm drain`. cc @openshift/cli-review @deads2k @dustymabe
Followup to #52917
Release note:
Updates resource builder in cmd/drain.go to parse resource args similar to other commands.
cc @liggitt