Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't add /clusters/ prefix to /services/ requests
Currently all requests from bound service accounts get `/clusters/` prepended to the path in the front proxy with a few exeptions. None of those exceptions are for `/services/` requests. With `/services/` requests prepended with `/clusters/`, the front proxy will then route them to the KCP container instead of the virtual workspace server. KCP will remove the `/clusters/` prefix, create the logical cluster context, and then try to redirect the `/services/` request to the virtual workspace server. Rinse and repeat until the client gives up. This fix is to stop prepending `/clusters/` on requests to the virtual workspace server.
- Loading branch information