Update Rust crate kube to v2 #231

Merged
renovate merged 1 commits from renovate/kube-2.x into master 2025-09-10 00:35:00 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
kube dependencies major 1.1.0 -> 2.0.0

Release Notes

kube-rs/kube (kube)

v2.0.0

Compare Source

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

Kubernetes v1_34 support via k8s-openapi 0.26

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

Schemars 1.0

A fairly significant upgrade in #​1780. Our external facing API should be unchanged, although some schemars public import paths have changed. Note that if you are implementing schemars traits directly, then see the upstream schemars/migrating (and maybe consider using KubeSchema for relevant schema overrides).

Please upgrade schemars along with kube for this version to avoid conflicts.

New Minimums

Minimum versions: MSRV 1.85.0 (for edition 2024), MK8SV: 1.30 (unchanged).

Highlights

This version is contains fixes, dependency clearups, and dependency updates. Noteworthy additions are TryFrom impls for Kubeconfig users in #​1801, and a namespace accessor in Api in #​1788

New Major

A new semver major for unstable, public facing dependency updates. As per the new release cycle, it is aligned with the Kubernetes release.

What's Changed

Added
Changed
Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [kube](https://github.com/kube-rs/kube) | dependencies | major | `1.1.0` -> `2.0.0` | --- ### Release Notes <details> <summary>kube-rs/kube (kube)</summary> ### [`v2.0.0`](https://github.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#200--2025-09-08) [Compare Source](https://github.com/kube-rs/kube/compare/1.1.0...2.0.0) \=================== <!-- Release notes generated using configuration in .github/release.yml at 2.0.0 --> #### Kubernetes `v1_34` support via `k8s-openapi` [0.26](https://github.com/Arnavion/k8s-openapi/blob/master/CHANGELOG.md#v0260-2025-09-06) Please [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to avoid conflicts. #### Schemars [1.0](https://github.com/GREsau/schemars/releases/tag/v1.0.0) A fairly significant upgrade in [#&#8203;1780](https://github.com/kube-rs/kube/pull/1780). Our external facing API should be unchanged, although some schemars public import paths have changed. Note that **if** you are implementing `schemars` traits directly, then see the upstream [schemars/migrating](https://graham.cool/schemars/migrating/) (and maybe consider using [`KubeSchema`](https://docs.rs/kube/latest/kube/derive.KubeSchema.html) for relevant [schema overrides](https://kube.rs/controllers/admission/#x_kube-validation)). Please [upgrade schemars along with kube](https://kube.rs/upgrading/) for this version to avoid conflicts. #### New Minimums Minimum versions: [MSRV](https://kube.rs/rust-version/) 1.85.0 (for [edition 2024](https://github.com/kube-rs/kube/pull/1785)), [MK8SV](https://kube.rs/kubernetes-version/): 1.30 ([unchanged](https://github.com/kube-rs/kube/pull/1756)). #### Highlights This version is contains fixes, dependency clearups, and dependency updates. Noteworthy additions are `TryFrom` impls for `Kubeconfig` users in [#&#8203;1801](https://github.com/kube-rs/kube/issues/1801), and a namespace accessor in `Api` in [#&#8203;1788](https://github.com/kube-rs/kube/issues/1788) #### New Major A new semver major for unstable, public facing dependency updates. As per the new [release cycle](https://kube.rs/stability/#major-release-cycle), it is aligned with the Kubernetes release. #### What's Changed ##### Added - Add `TryFrom` conversions for `Kubeconfig` -> `Config` -> `Client` by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in [#&#8203;1801](https://github.com/kube-rs/kube/pull/1801) - Add pub fn namespace(\&self) -> Option<\&str> to Api by [@&#8203;tgrushka](https://github.com/tgrushka) in [#&#8203;1788](https://github.com/kube-rs/kube/pull/1788) ##### Changed - Update to schemars 1.0 by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in [#&#8203;1780](https://github.com/kube-rs/kube/pull/1780) - Bump Rust Edition to 2024 and MSRV to 1.85 by [@&#8203;clux](https://github.com/clux) in [#&#8203;1785](https://github.com/kube-rs/kube/pull/1785) - Replace `hyper-socks2` with `hyper-util` client-proxy feature by [@&#8203;tottoto](https://github.com/tottoto) in [#&#8203;1795](https://github.com/kube-rs/kube/pull/1795) - Bump k8s-openapi to 0.26.0 by [@&#8203;clux](https://github.com/clux) in [#&#8203;1817](https://github.com/kube-rs/kube/pull/1817) ##### Fixed - Clamp scheduling delay to 6 months by [@&#8203;dervoeti](https://github.com/dervoeti) in [#&#8203;1779](https://github.com/kube-rs/kube/pull/1779) - Update admission example and pin to a local crd by [@&#8203;clux](https://github.com/clux) in [#&#8203;1782](https://github.com/kube-rs/kube/pull/1782) - Fix interactive auth mode to allow prompt messages by [@&#8203;gememma](https://github.com/gememma) in [#&#8203;1800](https://github.com/kube-rs/kube/pull/1800) - Make kube::runtime::controller::Action ctors const by [@&#8203;imp](https://github.com/imp) in [#&#8203;1804](https://github.com/kube-rs/kube/pull/1804) - Fix oidc with openssl by [@&#8203;saif-88](https://github.com/saif-88) in [#&#8203;1807](https://github.com/kube-rs/kube/pull/1807) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45OS40IiwidXBkYXRlZEluVmVyIjoiNDEuOTkuNCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-09-10 00:34:59 +00:00
Update Rust crate kube to v2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
472f7e4035
renovate scheduled this pull request to auto merge when all checks succeed 2025-09-10 00:34:59 +00:00
renovate merged commit 8f072d150c into master 2025-09-10 00:35:00 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/MinioK8sBuckets#231
No description provided.