Sourced from kube-runtime's releases.
0.82.0
Dependency Updates
This release brings in the new
k8s-openapi
release. Be sure to upgradek8s-openapi
andkube
simultaneously to avoid multiple version errors:cargo upgrade -p k8s-openapi -p kube -i
What's Changed
Changed
- Bump
serde_yaml
to 0.9 by@clux
in kube-rs/kube#1188- Bump
k8s-openapi
to 0.18.0 by@clux
in kube-rs/kube#1190Full Changelog: https://github.com/kube-rs/kube/compare/0.81.0...0.82.0
0.81.0
Highlights
List/Watch Changes
One big change is the splitting of
ListParams
intoListParams
andWatchParams
in #1162 and #1171. If you were usingapi.list
directly, this should not affect you, butapi.watch
calls will need a replace ofListParams
toWatchParams
. Apart from the resulting field splitting, the two structs still have a mostly compatible api.If you were passing
ListParams
towatcher
orController
, you can change this for a newwatcher::Config
with a mostly compatible interface:- let stream = watcher(api, ListParams::default()); + let stream = watcher(api, watcher::Config::default());
The reason for this change has been to add support for specific version match strategies and has new builders on both
ListParams
andwatcher::Config
to control the strategy. Using the newVersionMatch::NotOlderThan
can reduce strain on the apiserver for individualapi.list
calls. Watchers will benefit the most from this, and should consider using the semanticAny
strategy (=NotOlderThan
with version "0") on all relists by settingwatcher::Config::any_semantic()
.rustls
This release closes all our rustls issues as a consequence of the long standing IP address incompatibility (#153) having been resolved upstream. All
rustls
specific overrides (such as using the deprecatedincluster_dns
strategy for configuration #1184) have been removed as a result.Controller streams
Multiple new
runtime
features have been added to be able to more precisely control the input streams used byController
a starting step towards stream sharing (#1080) and as a way to reduce excess input events. Because these interfaces are likely to remain in flux for some time, these are only available under unstable feature flags.What's Changed
Added
- Add
predicates
to allow filteringwatcher
streams by@clux
in kube-rs/kube#911- Add
Controller::owns_stream
by@Dav1dde
in kube-rs/kube#1173- Add
Controller::for_stream
+Controller::watches_stream
by@clux
in kube-rs/kube#1187Changed
- Split
ListParams
andWatchParams
by@nabokihms
in kube-rs/kube#1162- Make
VersionMatch
follow upstream + configure list semantics inwatcher::Config
by@clux
in kube-rs/kube#1171- kube-derive: Disable
option_nullable
for CRD generation by@Dav1dde
in kube-rs/kube#1079
... (truncated)
Sourced from kube-runtime's changelog.
0.82.0 / 2023-04-08
Dependency Updates
This release brings in the new
k8s-openapi
release. Be sure to upgradek8s-openapi
andkube
simultaneously to avoid multiple version errors:cargo upgrade -p k8s-openapi -p kube -i
What's Changed
Changed
- Bump
serde_yaml
to 0.9 by@clux
in kube-rs/kube#1188- Bump
k8s-openapi
to 0.18.0 by@clux
in kube-rs/kube#1190Full Changelog: https://github.com/kube-rs/kube/compare/0.81.0...0.82.0 0.81.0 / 2023-04-07
Highlights
List/Watch Changes
One big change is the splitting of
ListParams
intoListParams
andWatchParams
in #1162 and #1171. If you were usingapi.list
directly, this should not affect you, butapi.watch
calls will need a replace ofListParams
toWatchParams
. Apart from the resulting field splitting, the two structs still have a mostly compatible api.If you were passing
ListParams
towatcher
, you can change this for a newwatcher::Config
with a mostly compatible interface:- let stream = watcher(api, ListParams::default()); + let stream = watcher(api, watcher::Config::default());
The reason for this change has been to add support for specific version match strategies and has new builders on both
ListParams
andwatcher::Config
to control the strategy. Using the newVersionMatch::NotOlderThan
can reduce strain on the apiserver for individualapi.list
calls. Watchers will benefit the most from this, and should consider using the semanticAny
strategy (=NotOlderThan
with version "0") on all relists by settingwatcher::Config::any_semantic()
.rustls
This release closes all our rustls issues as a consequence of the long standing IP address incompatibility (#153) having been resolved upstream. All
rustls
specific overrides (such as using the deprecatedincluster_dns
strategy for configuration #1184) have been removed as a result.Controller streams
Multiple new
runtime
features have been added to be able to more precisely control the input streams used byController
a starting step towards stream sharing (#1080) and as a way to reduce excess input events. Because these interfaces are likely to remain in flux for some time, these are only available under unstable feature flags.What's Changed
Added
- Add
predicates
to allow filteringwatcher
streams by@clux
in kube-rs/kube#911- Add
Controller::owns_stream
by@Dav1dde
in kube-rs/kube#1173- Add
Controller::for_stream
+Controller::watches_stream
by@clux
in kube-rs/kube#1187Changed
- Split
ListParams
andWatchParams
by@nabokihms
in kube-rs/kube#1162- Make
VersionMatch
follow upstream + configure list semantics inwatcher::Config
by@clux
in kube-rs/kube#1171
... (truncated)
221ebfa
release 0.82.0df52084
Bump k8s-openapi
to 0.18.0 (#1190)111f2bc
Bump serde_yaml
to 0.9 (#1188)c30b376
changelog for 0.81033bbe9
release 0.81.0740111f
Add Controller::for_stream
+
Controller::watches_stream
(#1187)2968e3e
kube-derive: Disable option_nullable
for CRD generation (#1079)36dcdaa
Avoid special Config::incluster
behavior for
rustls
(#1184)5914164
Fix: tower buffer's worker closed unexpectedly (#1185)752d9d3
Run rustls
CI against IP cluster address (#1183)