0.79.0
Watch Improvements
A big feature this time around is the added support for the metadata api via #1137. This is a variant api that only returns the ObjectMeta
and TypeMeta
to reduce network load, and has a low-level watch analogue available at Api::watch_metadata
. Most users will generally want an infinite watch stream rather than the low-level method, so kube::runtime::metadata_watcher
has been added as a direct analogue of watcher
via #1145. The dynamic_watcher example shows how to switch between the two to get up and running.
The watcher
also emits warnings now when HTTP 403
s are encountered from Kubernetes, as this usually indicates a non-transient misconfiguration that must be fixed on the administrator side with RBAC.
Finally, there is work in progress on shared streams via WatchStreamExt
from #1131 under an unstable feature.
What's Changed
Added
- Client: expose
default_namespace()
by @jpmcb in #1123 - Add support for metadata API by @mateiidavid in #1137
- Runtime: Add
WatchStreamExt::subscribe
by @danrspencer in #1131 - Introduce support for persistent metadata watches by @mateiidavid in #1145
Changed
- Bump Rust MSRV to 1.63.0 by @mateiidavid in #1146
Fixed
Config
: make cluster/users/clusters optional by @goenning in #1120- Add better logging for watcher errors by @clux in #1134
- kubeconfig: deserialize null vectors as default by @goenning in #1142
New Contributors
- @jpmcb made their first contribution in #1123
- @ianstanton made their first contribution in #1127
- @mateiidavid made their first contribution in #1137
Full Changelog: 0.78.0...0.79.0