java
java copied to clipboard
Watch.Response with type ADDED does not provide object's data
trafficstars
Describe the bug
If the response received from calling GenericKubernetesApi.watch has type "ADDED", the KubernetesObject in object has only metadata. raw is empty (null). (The object's raw data is provided for type "MODIFIED")
Client Version
v19
Java Version Java 17
To Reproduce Call the method, add a Kubernetes object, look at the result.
Expected behavior The (raw) data should be provided.