Open SachinHg opened 3 months ago
Can you print the raw JSON object and attach it to this issue?
Additionally, can you try the 20.0.1-legacy
version and see if that works?
@brendandburns updated the issue description with the raw json object. I can also confirm that this works without any problem with 20.0.1-legacy
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:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
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