-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
remove Categories from /oapi resources #17583
remove Categories from /oapi resources #17583
Conversation
/test cmd |
/test extended_conformance_gce |
/retest |
/test extended_conformance_install |
1 similar comment
/test extended_conformance_install |
@fabianofranz or @deads2k friendly ping |
/assign @deads2k |
Please add a test to test-integration that creates the discovery category builder and checks to make sure it contains the groupified resources for openshift and kube that we expect. |
Also, I'm fairly sure this breaks the groupified discovery as well. |
@juanvallejo bump |
8e69ec8
to
f316d99
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: juanvallejo Assign the PR to them by writing 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 |
@deads2k thanks, added an integration test |
2d8bac8
to
df33c22
Compare
/test cmd |
4513d2f
to
be3674e
Compare
be3674e
to
e68de6d
Compare
2d40465
to
84d75c7
Compare
"HorizontalPodAutoscaler/autoscaling/v2beta1": {"all"}, | ||
"Job/batch/v1": {"all"}, | ||
"DeploymentConfig/apps.openshift.io/v1": {"all"}, // FIX: discovered with no categories | ||
"BuildConfig/build.openshift.io/v1": {"all"}, // FIX: discovered with no categories |
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.
@deads2k I believe I am removing categories from the wrong resources. I can restore the Categories()
method in the files above, however per the results of this test, /oapi
resources continue to be requested as part of oc get all
despite being discovered in this test without any categories
@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. 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. |
Closing this in favor of #18085 |
Fixes #17446
Removes the
Categories
method from/oapi
resources, introduced in #16823Suggested in #17446 (comment)
cc @deads2k @openshift/cli-review @mfojtik @smarterclayton