Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

fix(deps): update rust crate kube to 0.95.0 #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 23, 2022

This PR contains the following updates:

Package Type Update Change
kube dependencies minor 0.72.0 -> 0.95.0

Release Notes

kube-rs/kube (kube)

v0.95.0

Compare Source

===================

Kubernetes v1_31 support via k8s-openapi 0.23

Please upgrade k8s-openapi along with kube to avoid conflicts.

New minimum versions: MSRV 1.77.2, MK8SV: 1.26

What's Changed

Changed

v0.94.2

Compare Source

What's Changed

Fixes a runtime regression in watch_object.

Fixed

New Contributors

Full Changelog: kube-rs/kube@0.94.1...0.94.2

v0.94.1

Compare Source

===================

What's Changed

Convenience release. Adjusted a version bound to avoid possibility of running into version compatibility errors with hyper-rustls.

Fixed

v0.94.0

Compare Source

===================

Highlights

Support for rustls's aws-lc-rs is available under a new kube/aws-lc-rs feature. Via https://github.com/kube-rs/kube/pull/1568 for https://github.com/kube-rs/kube/issues/1562

Furthermore, there are improvements to partial typing:

  1. Added a DeserializeGuard safety wrapper to lift deserialisation errors (to e.g. not break watchers). See the errorbound example and core module module. Wrapped type be used with e.g. Api::<DeserializeGuard<CaConfigMap>>. Via https://github.com/kube-rs/kube/pull/1556
  2. A derive macro for Resource; #[derive(Resource)] allows inheriting existing k8s-openapi resource implementations to avoid stepping down to the dynamic api. See the cert check example for usage. Via https://github.com/kube-rs/kube/pull/1565

What's Changed

Added
Changed

v0.93.1

Compare Source

===================

What's Changed

Fixed

v0.93.0

Compare Source

===================

Highlights

Better query validation, better client header customisation, and two new modules:

  1. core::labels module for creating typed label selectors for ListParams or WatchParams. Can be constructed from a native LabelSelector, or directly from a Selector of Expressions. PR.
  2. prelude to simplify imports of extension traits. PR.

A big thank you to everyone who contributed to this release!

What's Changed

Added
Changed
Removed
Fixed

v0.92.1

Compare Source

===================

Bugfix Release

This release fixes #​1524; a regression from 0.92.0 causing watcher to skip pages on initial list. See #​1525.

It is recommended to upgrade from 0.92.0.

What's Changed

Fixed

v0.92.0

Compare Source

===================

Runtime: Decreased Memory Usage from watcher

Buffering of initial pages / init streams is no longer a mandatory process with watcher::Event gaining new Init, InitApply, and InitDone events. These events are read on the store side maintaining the atomicity/completeness guarantees for reflector and Store users.

This constitutes a significant memory decrease for all watcher users, and it has more details in a new kube.rs/blog post.

The downside is a breaking change to watcher::Event. Plain usage of watcher / reflector / Controller should generally not need to change anything, but custom stores / matches on watcher::Event will need an update. If you are writing custom stores, the new signals should be helpful for improved caching.

Thanks to @​fabriziosestito via Kubewarden for https://github.com/kube-rs/kube/pull/1494 . Follow-ups for this feature: https://github.com/kube-rs/kube/pull/1499 and https://github.com/kube-rs/kube/pull/1504.

Client: HTTP Proxy Support

Support is now introduced under the http-proxy feature pulling in hyper-http-proxy complementing the already existing socks5 proxy feature.

Thanks to @​aviramha via MetalBear for the support in https://github.com/kube-rs/kube/pull/1496, with follow-ups https://github.com/kube-rs/kube/pull/1501 + https://github.com/kube-rs/kube/pull/1502

What's Changed

Added
Changed
Fixed

v0.91.0

Compare Source

===================

Kubernetes v1_30 support via k8s-openapi 0.22

Please upgrade k8s-openapi along with kube to avoid conflicts.

Unstable Stream Sharing

A more complete implementation that allows sharing watcher streams between multiple Controllers (for https://github.com/kube-rs/kube/issues/1080) has been added under the unstable-runtime feature-flag in #​1449 and #​1483 by @​mateiidavid. This represents the first usable implementation of shared streams (and replaces the older prototype part in #​1470). While some changes are expected, you can check the shared_stream_controller example for a high-level overview.

What's Changed

Added
Changed
Removed
Fixed

v0.90.0

Compare Source

===================

Highlights

kube::client::Body Improvements
Dependency Cleanups

What's Changed

Added
Changed
Fixed

v0.89.0

Compare Source

Upgrading hyper and http to 1.0 and MSRV to 1.75.0

This release completes the hyper & http ecosystem upgrade #​1351 via #​1438. In particular, this change includes upgrades to http, http-body, tower-http, hyper, hyper-openssl, hyper-rustls, hyper-socks2, hyper-timeout, tame-oauth, tokio-tungstenite, tower-http, rustls, rustls-pemfile, as well as adopting the new hyper_util and http_body_util to make the change.

While this change constitutes significant internal churn (and a new kube::client::Body), our external api remains largely unchanged. Some minor changes are necessary for custom clients, and for integration testing using tower_mock. See the controller-rs upgrade pr or the examples folder in this commit for details.

What's Changed

Added
Changed
Fixed

New Contributors

Full Changelog: kube-rs/kube@0.88.1...0.89.0

v0.88.1

Compare Source

===================

What's Changed

This is a bug fix release for a deserialization issue introduced in 0.88.0.

Fixed

v0.88.0

Compare Source

===================

Kubernetes v1_29 support via k8s-openapi 0.21

Please upgrade k8s-openapi along with kube to avoid conflicts.

What's Changed

Added
Changed

v0.87.2

Compare Source

===================

What's Changed

Added
Changed

v0.87.1

Compare Source

===================

Headlines

  • fixed a Controller issue with reconciliation requests disappearing when using concurrency #​1324
  • improved Client with better exec auth behaviour #​1320, timeout control #​1314, and socks5 proxy handling #​1311
  • small changes to an unstable streams feature #​1304, and a a derive property that is now illegal with syn 2 #​1307

Big thanks to everyone involved 🎃

What's Changed

Added
Changed
Fixed

v0.86.0

Compare Source

Headlines

k8s-openapi 0.20 for Kubernetes v1_28

Please note upstream api removals.
As usual, upgrade k8s-openapi along with kube to avoid issues.

Default TLS stack changed to rustls

With last year's upstream changes from rustls (closing all our existing rustls issues - see https://github.com/kube-rs/kube/issues/1192), this is now the better choice for security, features, and ease of building. The previous default openssl stack can still be used with default-features = false plus the openssl-tls feature.

Controller Configuration

A controller Config has been added to allow tweaking two behaviour parameters (debouncing in #​1265 and concurrency limits in #​1277) of the Controller. Huge thanks to @​aryan9600 for his work.

Streaming Lists

The sendInitialEvents alpha feature is now supported, and is quickly testable in the pod_watcher example when using the feature gate. This will help optimise the memory profile of controllers when the feature becomes generally available. Amazing work by first time contributor @​casualjim.

What's Changed

Added
Changed
Fixed

New Contributors

Full Changelog: kube-rs/kube@0.85.0...0.86.0

v0.85.0

Compare Source

===================

What's Changed

Added
Changed
Fixed

v0.84.0

Compare Source

===================

Highlights

Stream Improvements

On the runtime side, the Controller now delays reconciles until the main Store is ready (via a new Store helper from #​1243). The stream selection for owned resources is more efficient (#​1240), and the underlying watcher streams now all paginate (#​1249). There are also many new WatchStreamExt helpers ( #​1246 + #​1228 + #​1232) as a continued work towards the more customisable streams-api (#​1080).

On the client-side; streaming logs are now easier to deal with as an AsyncBufRead #​1235.

OIDC Refresh

Optional OIDC refreshable token support was introduced in #​1229 under kube/oidc for out-of-cluster Client configuration. Previously, refresh support was limited to non-OIDC tokens from the GcpOuth provider (kube/oauth) or through arbitrary exec calls / TokenFile loading.

What's Changed

Added
Changed
Fixed

v0.83.0

Compare Source

===================

What's Changed

Added
Changed
Fixed

v0.82.2

Compare Source

===================

Watcher Fixes

Two fixes to allow watcher::Config to function as intended.

What's Changed

Fixed

v0.82.1

Compare Source

Bugfix Release

nullable is re-instated on Option types from CustomResource generated schemas, due to unintended errors removing it caused on Api::patch calls on None members that were not setting #[serde(skip_serializing_if = "Option::is_none")]. This only affected 0.81 and 0.82 from last week, and does not require user action regardless of where you are upgrading from.

This release also fixes a metadata_watcher triggering deserialization error from doing Api::list_metadata on an empty set.

What's Changed

Fixed

New Contributors

Full Changelog: kube-rs/kube@0.82.0...0.82.1

v0.82.0

Compare Source

===================

Dependency Updates

This release brings in the new k8s-openapi release.
Be sure to upgrade k8s-openapi and kube simultaneously to avoid multiple version errors:

cargo upgrade -p k8s-openapi -p kube -i

What's Changed

Changed

v0.81.0

Compare Source

Highlights

List/Watch Changes

One big change is the splitting of ListParams into ListParams and WatchParams in #​1162 and #​1171. If you were using api.list directly, this should not affect you, but api.watch calls will need a replace of ListParams to WatchParams. Apart from the resulting field splitting, the two structs still have a mostly compatible api.

If you were passing ListParams to watcher or Controller, you can change this for a new watcher::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 and watcher::Config to control the strategy. Using the new VersionMatch::NotOlderThan can reduce strain on the apiserver for individual api.list calls. Watchers will benefit the most from this, and should consider using the semantic Any strategy (= NotOlderThan with version "0") on all relists by setting watcher::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 deprecated incluster_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 by Controller 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
Changed
Fixed

New Contributors

Full Changelog: kube-rs/kube@0.80.0...0.81.0

v0.80.0

Compare Source

===================

Notes

The PartialObjectMeta struct has been changed to allow static dispatch through a new generic parameter. It comes with a new PartialObjectMetaExt trait to help construct it.

Early release for the above change to the new metadata api, plus a trigger for our currently broken docs.rs.

What's Changed

Changed
Fixed

v0.79.0

Compare Source

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 403s 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
Changed
Fixed

New Contributors

Full Changelog: kube-rs/kube@0.78.0...0.79.0

v0.78.0

Compare Source

===================

Kubernetes Bump

This release brings in the new k8s-openapi release for 1.26 structs, and sets our MK8SV to 1.21.
Be sure to upgrade k8s-openapi and kube simultaneously to avoid multiple version errors:

cargo upgrade -p k8s-openapi -p kube -i

What's Changed

Added
Changed
Removed
Fixed

[v0.77.0](htt


Configuration

📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency Upgrades from Renovate Bot label May 23, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 5191408 to 3f9378d Compare May 23, 2022 23:55
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.73.0 fix(deps): update rust crate kube to 0.73.1 Jun 3, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 3f9378d to c077ad4 Compare June 3, 2022 13:44
@renovate renovate bot force-pushed the renovate/kube-0.x branch 3 times, most recently from bd0ada3 to 023e815 Compare June 16, 2022 00:08
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 023e815 to 44724a0 Compare June 21, 2022 23:32
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.73.1 fix(deps): update Rust crate kube to 0.73.1 Jun 27, 2022
@renovate renovate bot changed the title fix(deps): update Rust crate kube to 0.73.1 fix(deps): update rust crate kube to 0.73.1 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch 4 times, most recently from 8dd2933 to 486a7cb Compare July 2, 2022 23:06
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 486a7cb to a5619f2 Compare July 9, 2022 20:06
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.73.1 fix(deps): update rust crate kube to 0.74.0 Jul 9, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch 5 times, most recently from 1d26f37 to a5faa3b Compare July 16, 2022 02:31
@renovate renovate bot force-pushed the renovate/kube-0.x branch 4 times, most recently from cd7f169 to bb4f945 Compare July 25, 2022 22:36
@renovate renovate bot force-pushed the renovate/kube-0.x branch 3 times, most recently from 3e9e81b to f5a1177 Compare August 3, 2022 22:11
@renovate renovate bot force-pushed the renovate/kube-0.x branch 2 times, most recently from a80cac6 to 610a18d Compare August 11, 2022 22:14
@renovate renovate bot force-pushed the renovate/kube-0.x branch from cf45cb9 to e5d61a4 Compare May 31, 2024 01:59
@renovate renovate bot force-pushed the renovate/kube-0.x branch from e5d61a4 to 165b27d Compare June 12, 2024 13:43
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.91.0 fix(deps): update rust crate kube to 0.92.0 Jun 12, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch 2 times, most recently from 96e9cc9 to f24717d Compare June 17, 2024 21:49
@renovate renovate bot force-pushed the renovate/kube-0.x branch from f24717d to be9eb3b Compare June 28, 2024 23:11
@renovate renovate bot force-pushed the renovate/kube-0.x branch from be9eb3b to 1dbd776 Compare July 7, 2024 00:39
@renovate renovate bot force-pushed the renovate/kube-0.x branch 3 times, most recently from 631c2ac to 3ec2ba4 Compare July 23, 2024 03:30
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.92.0 fix(deps): update rust crate kube to 0.93.0 Jul 23, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch 5 times, most recently from f37285d to 87916f8 Compare July 27, 2024 22:52
@renovate renovate bot force-pushed the renovate/kube-0.x branch 3 times, most recently from 4777e86 to 5ce0ee3 Compare August 13, 2024 00:59
@renovate renovate bot force-pushed the renovate/kube-0.x branch 2 times, most recently from 6b217a9 to 64a72c5 Compare August 18, 2024 01:55
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 64a72c5 to 89adbf8 Compare August 25, 2024 01:16
@renovate renovate bot force-pushed the renovate/kube-0.x branch 2 times, most recently from 92f2c39 to bb1ac4c Compare September 9, 2024 11:28
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.93.0 fix(deps): update rust crate kube to 0.94.0 Sep 9, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from bb1ac4c to 7f09585 Compare September 16, 2024 13:17
@renovate renovate bot changed the title fix(deps): update rust crate kube to 0.94.0 fix(deps): update rust crate kube to 0.95.0 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 7f09585 to 96883c0 Compare September 16, 2024 21:05
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 96883c0 to c328b8d Compare September 17, 2024 01:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Dependency Upgrades from Renovate Bot
Development

Successfully merging this pull request may close these issues.

0 participants