-
Notifications
You must be signed in to change notification settings - Fork 394
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 parsing of requests to root path of a workload cluster #2405
🐛 Fix parsing of requests to root path of a workload cluster #2405
Conversation
Hi @erwinvaneyk. Thanks for your PR. I'm waiting for a kcp-dev member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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 think it may make sense to support |
@ncdc Maybe I could have worded the title a bit better, but this PR solely fixes requests to the root path ( |
Ahh ok, thanks for clarifying. I got confused from the description, because I do now see what your PR is doing, and it's 👍: Before:
After:
|
Some additional testing:
I think the error for /clusters is good. Should we fix /clusters/ to also return a NotFound? @stevekuznetsov do you want an e2e for this/these to make sure we don't regress? |
@erwinvaneyk would you be able to fix |
/lgtm I'll follow-up with some fixes |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ncdc 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 |
/ok-to-test |
/retest |
Summary
kcp is rejecting (valid) calls to the root path of a cluster. With a default setup, the following error is returned:
This PR resolves this issue by fixing the parsing and removing the error. With this fix: