-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Missing "/" in request url while using customresource client #1803
Comments
@legendj : Strange, my minikube also has apiserver endpoint like yours but I don't face this error:
But I think appending a |
@legendj : Hi, I've created a PR for fixing this. Could you please build a snapshot and test it whether it's working for you or not?
|
@legendj : polite ping, Did you get time to try it out? |
@rohanKanojia sorry for the delay, I've test it just now and it worked fine. you can close the issue now |
@legendj : You mean you tested my PR or you were unable to reproduce the issue itself? |
@rohanKanojia using the new, PR verision |
oh, okay. I would merge it and notify you on next release |
Problem
client.customResource(csvContext).create()
for creating customresource, I'm running into this Exception below, my client is initialized from a kubeconfig file whose apiserver endpoint is https://x.x.x.x:7443.Cause
kubernetes-client/kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/RawCustomResourceOperationsImpl.java
Line 410 in 90dfe64
Personal Opinion
I think we should append"/" before append("apis/") which should be looked like this
config.getMasterUrl()
shall return the host without "/", right?The text was updated successfully, but these errors were encountered: