kubernetes-client / kubernetes-client/java
Watch.Response with type ADDED does not provide object's data
Open
- Dominant language
- Java
- Stars
- 4k
- Forks
- 2.1k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 16
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.