-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
discover valid resources for kubectl instead of current hard-coded way #51865
Conversation
Hi @dixudx. 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. 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. I understand the commands that are listed here. |
ae06750
to
af2d792
Compare
/ok-to-test |
It's strange this PR doesn't have a release note label. Maybe bot is sleeping... |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dixudx Assign the PR to them by writing Associated issue: 51089 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Hmmm, my comment wakes it up. |
af2d792
to
1ead29a
Compare
/assign @mengqiy PTAL. Thanks. |
We cannot require server contact to display command help. A separate command to display valid resources (like #42873) would be best, and we can reference that command from the help text |
Also, the factory is not usable for client building prior to command invocation (not all flags that affect server contact have not been parsed yet), and making calls in constructing the command mean those calls will be made for every invocation of kubectl that runs any command, not just this one. |
@dixudx: 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. 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. I understand the commands that are listed here. |
xref: #51324 |
What this PR does / why we need it:
Per discussion and discussion.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #xref #51089
Special notes for your reviewer:
/assign @liggitt @caesarxuchao
Release note: