-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
CustomObjectsApi.getNamespacedCustomObject does not return metadata in the latest version of the client #3589
Comments
Can you print the raw JSON object and attach it to this issue? |
Additionally, can you try the |
@brendandburns updated the issue description with the raw json object. I can also confirm that this works without any problem with |
For the raw JSON, I was hoping for the JSON that came back from the API server, not the JSON output of the client side object. Can you provide the JSON from the server so that we can determine if there is some sort of parsing error? For context, the code generator changed in the 20 release, which is likely the difference causing this, but I'm not certain exactly what is going wrong. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Describe the bug
We use
CustomObjectsApi
to deal with the CRUD operations for istio related resources. Since upgrading the k8s client version to 20.0.1, theCustomObjectsApi.getNamespacedCustomObject
does not returnmetadata
as part of the response. This used to work in the older version of the client1.12
.Client Version
20.0.1
Kubernetes Version
1.29
Java Version
Java 21
To Reproduce
Steps to reproduce the behavior:
public class CustomObjectResourceVersion {
}
Expected behavior
It should return the metadata.
Output of raw JSON
The text was updated successfully, but these errors were encountered: