CustomObjectsApi.getNamespacedCustomObject does not return metadata in the latest version of the client #3589
Labels
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become 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
The text was updated successfully, but these errors were encountered: