You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I step through the code with a debugger, I can see that the Request object created by PatchUtils.patch() is using the wrong User-Agent version: Request{method=PATCH, url=https://fb6cde70-6232-42cf-a2e1-211ac67c62ed.k8s.ondigitalocean.com/api/v1/namespaces/default/configmaps/install-helm-script?fieldManager=LicensedCluster&force=true, headers=[authorization:Bearer redacted, Accept:application/json, Content-Type:application/json, User-Agent:Kubernetes Java Client/21.0.0-SNAPSHOT]}
We probably need to update it before we cut a release. We'll have to figure out the best way to get that into our automation. I would have thought that mvn release:prepare would do it for us, but apparently not.
Describe the bug
When running this code:
If I step through the code with a debugger, I can see that the
Request
object created byPatchUtils.patch()
is using the wrongUser-Agent
version:Request{method=PATCH, url=https://fb6cde70-6232-42cf-a2e1-211ac67c62ed.k8s.ondigitalocean.com/api/v1/namespaces/default/configmaps/install-helm-script?fieldManager=LicensedCluster&force=true, headers=[authorization:Bearer redacted, Accept:application/json, Content-Type:application/json, User-Agent:Kubernetes Java Client/21.0.0-SNAPSHOT]}
I am using v22.0.0, not 21.0.0-SNAPSHOT.
Client Version
Kubernetes Version
1.31.1
Java Version
Java 23.0.1
To Reproduce
Run the aforementioned code
Expected behavior
The
User-Agent
should be equal toKubernetes Java Client/22.0.0
.KubeConfig
N/A
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: