jeremylvln / Shulker

A Kubernetes operator for managing complex and dynamic Minecraft infrastructures, including game servers and proxies.
https://shulker.jeremylvln.fr/
GNU Affero General Public License v3.0
181 stars 14 forks source link

chore(deps): update rust crate kube to 0.93.0 - autoclosed #495

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
kube workspace.dependencies minor 0.88.1 -> 0.93.0

Release Notes

kube-rs/kube (kube) ### [`v0.93.1`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0931--2024-07-23) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.93.0...0.93.1) \=================== #### What's Changed ##### Fixed - add missing feature gate on ConfigExt for no-features build by [@​HoKim98](https://togithub.com/HoKim98) in [https://github.com/kube-rs/kube/pull/1549](https://togithub.com/kube-rs/kube/pull/1549) ### [`v0.93.0`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0930--2024-07-22) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.92.1...0.93.0) \=================== #### Highlights Better [query validation](https://togithub.com/kube-rs/kube/pull/1541), better [client header customisation](https://togithub.com/kube-rs/kube/pull/1523), and two new modules: 1. [`core::labels`](https://docs.rs/kube/latest/kube/core/labels/index.html) module for creating typed label selectors for [`ListParams`](https://docs.rs/kube/latest/kube/core/params/struct.ListParams.html#method.labels_from) or [`WatchParams`](https://docs.rs/kube/latest/kube/core/params/struct.WatchParams.html#method.labels_from). Can be constructed from a native [`LabelSelector`](https://docs.rs/k8s-openapi/latest/k8s_openapi/apimachinery/pkg/apis/meta/v1/struct.LabelSelector.html), or directly from a [`Selector`](https://docs.rs/kube/latest/kube/core/struct.Selector.html) of [`Expression`](https://docs.rs/kube/latest/kube/core/enum.Expression.html)s. [PR](https://togithub.com/kube-rs/kube/pull/1539). 2. [`prelude`](https://docs.rs/kube/latest/kube/prelude/index.html) to simplify imports of extension traits. [PR](https://togithub.com/kube-rs/kube/pull/1539). A big thank you to everyone who contributed to this release! #### What's Changed ##### Added - add option to provide headers to send as client by [@​aviramha](https://togithub.com/aviramha) in [https://github.com/kube-rs/kube/pull/1523](https://togithub.com/kube-rs/kube/pull/1523) - Add prelude for blanket and extension traits across sub-crates by [@​Danil-Grigorev](https://togithub.com/Danil-Grigorev) in [https://github.com/kube-rs/kube/pull/1527](https://togithub.com/kube-rs/kube/pull/1527) - Label selector support by [@​Danil-Grigorev](https://togithub.com/Danil-Grigorev) in [https://github.com/kube-rs/kube/pull/1539](https://togithub.com/kube-rs/kube/pull/1539) ##### Changed - Update garde requirement from 0.19.0 to 0.20.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kube-rs/kube/pull/1535](https://togithub.com/kube-rs/kube/pull/1535) ##### Removed - runtime: remove deprecated default_backoff by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1518](https://togithub.com/kube-rs/kube/pull/1518) ##### Fixed - Fix watcher not fully paginating on Init by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1525](https://togithub.com/kube-rs/kube/pull/1525) (ported to 0.92.1) - Prevent empty string object name requests from being sent to the apiserver by [@​xMAC94x](https://togithub.com/xMAC94x) in [https://github.com/kube-rs/kube/pull/1541](https://togithub.com/kube-rs/kube/pull/1541) ### [`v0.92.1`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0921--2024-06-19) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.92.0...0.92.1) \=================== #### Bugfix Release This release fixes [#​1524](https://togithub.com/kube-rs/kube/issues/1524); a regression from [0.92.0](https://togithub.com/kube-rs/kube/releases/tag/0.92.0) causing `watcher` to skip pages on initial list. See [#​1525](https://togithub.com/kube-rs/kube/pull/1525). It is recommended to upgrade from 0.92.0. #### What's Changed ##### Fixed - Fix watcher not fully paginating on Init by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1525](https://togithub.com/kube-rs/kube/pull/1525) ### [`v0.92.0`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0920--2024-06-12) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.91.0...0.92.0) \=================== #### Runtime: Decreased Memory Usage from `watcher` Buffering of [initial pages](https://kubernetes.io/docs/reference/using-api/api-concepts/#retrieving-large-results-sets-in-chunks) / [init streams](https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists) is no longer a mandatory process with [`watcher::Event`](https://docs.rs/kube/latest/kube/runtime/watcher/enum.Event.html) gaining new `Init`, `InitApply`, and `InitDone` events. These events are read on the [store side](https://togithub.com/kube-rs/kube/blob/0f6cb6f0ac695444f6789f98fa07073f4980a127/kube-runtime/src/reflector/store.rs#L99-L134) 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](https://kube.rs/blog/2024/06/11/watcher-memory-improvements/). The downside is a **breaking change** to [`watcher::Event`](https://docs.rs/kube/latest/kube/runtime/watcher/enum.Event.html). Plain usage of `watcher` / `reflector` / `Controller` should generally not need to change anything, but custom stores / matches on `watcher::Event` will [need an update](https://kube.rs/blog/2024/06/11/watcher-memory-improvements/#breaking-change). If you are writing custom stores, the new signals should be helpful for improved caching. Thanks to [@​fabriziosestito](https://togithub.com/fabriziosestito) via [Kubewarden](https://www.kubewarden.io/) for [https://github.com/kube-rs/kube/pull/1494](https://togithub.com/kube-rs/kube/pull/1494) . Follow-ups for this feature: [https://github.com/kube-rs/kube/pull/1499](https://togithub.com/kube-rs/kube/pull/1499) and [https://github.com/kube-rs/kube/pull/1504](https://togithub.com/kube-rs/kube/pull/1504). #### Client: HTTP Proxy Support Support is now introduced under the `http-proxy` [feature](https://kube.rs/features) pulling in [hyper-http-proxy](https://crates.io/crates/hyper-http-proxy) complementing the already existing `socks5` proxy feature. Thanks to [@​aviramha](https://togithub.com/aviramha) via [MetalBear](https://metalbear.co/) for the support in [https://github.com/kube-rs/kube/pull/1496](https://togithub.com/kube-rs/kube/pull/1496), with follow-ups [https://github.com/kube-rs/kube/pull/1501](https://togithub.com/kube-rs/kube/pull/1501) + [https://github.com/kube-rs/kube/pull/1502](https://togithub.com/kube-rs/kube/pull/1502) #### What's Changed ##### Added - Added support for HTTP proxy with hyper-proxy2 by [@​aviramha](https://togithub.com/aviramha) in [https://github.com/kube-rs/kube/pull/1496](https://togithub.com/kube-rs/kube/pull/1496) - Implement client native object reference fetching by [@​Danil-Grigorev](https://togithub.com/Danil-Grigorev) in [https://github.com/kube-rs/kube/pull/1511](https://togithub.com/kube-rs/kube/pull/1511) ##### Changed - Reduce buffering between watcher and Store by [@​fabriziosestito](https://togithub.com/fabriziosestito) in [https://github.com/kube-rs/kube/pull/1494](https://togithub.com/kube-rs/kube/pull/1494) - Rename new watcher Event names and remove one that cannot happen by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1499](https://togithub.com/kube-rs/kube/pull/1499) - Update `tokio-tungstenite` to 0.23 by [@​Toasterson](https://togithub.com/Toasterson) in [https://github.com/kube-rs/kube/pull/1509](https://togithub.com/kube-rs/kube/pull/1509) - Align `watcher::Event` init/page variants by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1504](https://togithub.com/kube-rs/kube/pull/1504) - Update json-patch to 2.0.0 by [@​bobsongplus](https://togithub.com/bobsongplus) in [https://github.com/kube-rs/kube/pull/1507](https://togithub.com/kube-rs/kube/pull/1507) ##### Fixed - Fix potentially panicing unchecked duration adds in runtime by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1489](https://togithub.com/kube-rs/kube/pull/1489) - ObjectList now accepts null metadata like upstream k8s does by [@​aviramha](https://togithub.com/aviramha) in [https://github.com/kube-rs/kube/pull/1492](https://togithub.com/kube-rs/kube/pull/1492) - rename http_proxy feature to http-proxy and add it to the umbrella crate by [@​aviramha](https://togithub.com/aviramha) in [https://github.com/kube-rs/kube/pull/1501](https://togithub.com/kube-rs/kube/pull/1501) - move from `hyper-proxy2` to `hyper-http-proxy` by [@​aviramha](https://togithub.com/aviramha) in [https://github.com/kube-rs/kube/pull/1502](https://togithub.com/kube-rs/kube/pull/1502) ### [`v0.91.0`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0910--2024-05-06) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.90.0...0.91.0) \=================== #### Kubernetes `v1_30` support via `k8s-openapi` [0.22](https://togithub.com/Arnavion/k8s-openapi/releases/tag/v0.22.0) Please [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to avoid conflicts. #### Unstable Stream Sharing A more complete implementation that allows sharing `watcher` streams between multiple `Controller`s (for [https://github.com/kube-rs/kube/issues/1080](https://togithub.com/kube-rs/kube/issues/1080)) has been added under the `unstable-runtime` [feature-flag](https://kube.rs/stability/#unstable-features) in [#​1449](https://togithub.com/kube-rs/kube/issues/1449) and [#​1483](https://togithub.com/kube-rs/kube/issues/1483) by [@​mateiidavid](https://togithub.com/mateiidavid). This represents the first usable implementation of shared streams (and replaces the older prototype part in [#​1470](https://togithub.com/kube-rs/kube/issues/1470)). While some changes are expected, you can check the [shared_stream_controller example](https://togithub.com/kube-rs/kube/blob/main/examples/shared_stream_controllers.rs) for a high-level overview. #### What's Changed ##### Added - Add shared stream interfaces by [@​mateiidavid](https://togithub.com/mateiidavid) in [https://github.com/kube-rs/kube/pull/1449](https://togithub.com/kube-rs/kube/pull/1449) - Allow to create non-controller owner reference for resource by [@​Danil-Grigorev](https://togithub.com/Danil-Grigorev) in [https://github.com/kube-rs/kube/pull/1475](https://togithub.com/kube-rs/kube/pull/1475) - feat(runtime): support for owned shared streams by [@​mateiidavid](https://togithub.com/mateiidavid) in [https://github.com/kube-rs/kube/pull/1483](https://togithub.com/kube-rs/kube/pull/1483) ##### Changed - Upgrade `k8s-openapi` to 0.22 and bump MK8SV to 1.25 by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1485](https://togithub.com/kube-rs/kube/pull/1485) ##### Removed - Remove abandoned `StreamSubscribe` implementation by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1470](https://togithub.com/kube-rs/kube/pull/1470) ##### Fixed - Include inner error message in Display for SerdeError by [@​XAMPPRocky](https://togithub.com/XAMPPRocky) in [https://github.com/kube-rs/kube/pull/1481](https://togithub.com/kube-rs/kube/pull/1481) - Remove invalid `uniqueItems` property from CRDs when Sets are used by [@​sbernauer](https://togithub.com/sbernauer) in [https://github.com/kube-rs/kube/pull/1484](https://togithub.com/kube-rs/kube/pull/1484) ### [`v0.90.0`](https://togithub.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#0900--2024-04-03) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.89.0...0.90.0) \=================== #### Highlights ##### [`kube::client::Body`](https://docs.rs/kube/latest/kube/client/struct.Body.html) Improvements - Unit testing helpers [#​1444](https://togithub.com/kube-rs/kube/issues/1444) + [#​1445](https://togithub.com/kube-rs/kube/issues/1445), - Accuracy; `size_hint` and `is_end_stream` implemented in [#​1452](https://togithub.com/kube-rs/kube/issues/1452) + internal cleanups [#​1453](https://togithub.com/kube-rs/kube/issues/1453) and [#​1455](https://togithub.com/kube-rs/kube/issues/1455) ##### Dependency Cleanups - `rustls` to 0.23 in [#​1457](https://togithub.com/kube-rs/kube/issues/1457) - `once_cell` removed in [#​1447](https://togithub.com/kube-rs/kube/issues/1447) (no longer needed) - `futures` feature prune in [#​1442](https://togithub.com/kube-rs/kube/issues/1442) - `chrono` features prune in [#​1448](https://togithub.com/kube-rs/kube/issues/1448), and bump its min version pin in [#​1458](https://togithub.com/kube-rs/kube/issues/1458) #### What's Changed ##### Added - Add proxy `Body::collect_bytes` for easier unit tests by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1445](https://togithub.com/kube-rs/kube/pull/1445) ##### Changed - update to `rustls` 0.23 by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1457](https://togithub.com/kube-rs/kube/pull/1457) ##### Fixed - disable unused `futures` feature by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1442](https://togithub.com/kube-rs/kube/pull/1442) - Expose `Body::empty` for easier tests by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1444](https://togithub.com/kube-rs/kube/pull/1444) - replace `once_cell` Lazy with ordinary static by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1447](https://togithub.com/kube-rs/kube/pull/1447) - replace `chrono` feature `clock` with `now` by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1448](https://togithub.com/kube-rs/kube/pull/1448) - implement `http_body` trait method by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1452](https://togithub.com/kube-rs/kube/pull/1452) - Fix examples for custom clients not authenticating by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1450](https://togithub.com/kube-rs/kube/pull/1450) - Set a compatible minimum `chrono` version by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1458](https://togithub.com/kube-rs/kube/pull/1458) ### [`v0.89.0`](https://togithub.com/kube-rs/kube/releases/tag/0.89.0) [Compare Source](https://togithub.com/kube-rs/kube/compare/0.88.1...0.89.0) #### Upgrading `hyper` and `http` to 1.0 and MSRV to `1.75.0` This release completes the hyper & http ecosystem upgrade [#​1351](https://togithub.com/kube-rs/kube/issues/1351) via [#​1438](https://togithub.com/kube-rs/kube/issues/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`](https://docs.rs/kube/latest/kube/client/struct.Body.html)), 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](https://togithub.com/kube-rs/controller-rs/pull/68) or the [examples folder in this commit](https://togithub.com/kube-rs/kube/commit/aeb4d3f62052c2072ebf6fa0a88083761b0f2404#diff-3f490bad6c4ca7e0e16f45f7be079809683095339108cec9affc94a508700bd9) for details. #### What's Changed ##### Added - client_ext for `Client::get` and `Client::list` by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1375](https://togithub.com/kube-rs/kube/pull/1375) - direct node access logs/portforward/exec/attach via kubelet debug interface by [@​XciD](https://togithub.com/XciD) in [https://github.com/kube-rs/kube/pull/1428](https://togithub.com/kube-rs/kube/pull/1428) ##### Changed - Bump MSRV to `1.75.0` by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1408](https://togithub.com/kube-rs/kube/pull/1408) - Ease the bound for `reflector` to only request identifying metadata by [@​SOF3](https://togithub.com/SOF3) in [https://github.com/kube-rs/kube/pull/1393](https://togithub.com/kube-rs/kube/pull/1393) - Update base64 requirement from 0.21.4 to 0.22.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/kube-rs/kube/pull/1422](https://togithub.com/kube-rs/kube/pull/1422) - upgrade `jsonpath-rust` to 0.5.0 by [@​clux](https://togithub.com/clux) in [https://github.com/kube-rs/kube/pull/1429](https://togithub.com/kube-rs/kube/pull/1429) - update to hyper 1 by [@​tottoto](https://togithub.com/tottoto) in [https://github.com/kube-rs/kube/pull/1438](https://togithub.com/kube-rs/kube/pull/1438) ##### Fixed - Serialize TerminalSize fields as PascalCase by [@​nightkr](https://togithub.com/nightkr) in [https://github.com/kube-rs/kube/pull/1407](https://togithub.com/kube-rs/kube/pull/1407) - `Kubeconfig` allow `certificate_authority_data` not present in `ExecAuthCluster` by [@​ljun20160606](https://togithub.com/ljun20160606) in [https://github.com/kube-rs/kube/pull/1432](https://togithub.com/kube-rs/kube/pull/1432) - fix: check err on `Client::request_stream` by [@​XciD](https://togithub.com/XciD) in [https://github.com/kube-rs/kube/pull/1433](https://togithub.com/kube-rs/kube/pull/1433) #### New Contributors - [@​SOF3](https://togithub.com/SOF3) made their first contribution in [https://github.com/kube-rs/kube/pull/1393](https://togithub.com/kube-rs/kube/pull/1393) - [@​ljun20160606](https://togithub.com/ljun20160606) made their first contribution in [https://github.com/kube-rs/kube/pull/1432](https://togithub.com/kube-rs/kube/pull/1432) - [@​XciD](https://togithub.com/XciD) made their first contribution in [https://github.com/kube-rs/kube/pull/1433](https://togithub.com/kube-rs/kube/pull/1433) - [@​tottoto](https://togithub.com/tottoto) made their first contribution in [https://github.com/kube-rs/kube/pull/1438](https://togithub.com/kube-rs/kube/pull/1438) **Full Changelog**: https://github.com/kube-rs/kube/compare/0.88.1...0.89.0

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



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