Add streaming list support to WatchParams
#1254
Labels
blocked
awaiting upstream work
core
generic apimachinery style work
help wanted
Not immediately prioritised, please help!
What problem are you trying to solve?
Supporting streaming lists on kubernetes > 1.27 https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists
Describe the solution you'd like
The initial support of this does not need to touch the
watcher
(#1209 has higher level discussion) norApi::watch
. Adding the flag toWatchParams
is sufficient to support it:send_initial_events: bool
toWatchParams
inparams.rs
in kube-corek8s_openapi::k8s_if_ge_1_27
macroWatchParams::initial_events()
builder that allows turning it on easilyevent_watcher.rs
Describe alternatives you've considered
None, new feature, should be supported.
Documentation, Adoption, Migration Strategy
Straight addition. Just make sure we hide it and tests under the k8s_openapi 1_27 feature. Integration tests are already using >=1.27 so we are just waiting for a k8s-openapi release to give us the standard macro.
Target crate for feature
kube-core
The text was updated successfully, but these errors were encountered: