Update Rust crate kube to v1 - autoclosed #208

Closed
renovate wants to merge 1 commits from renovate/kube-1.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
kube dependencies major 0.99.0 -> 1.1.0

Release Notes

kube-rs/kube (kube)

v1.1.0

Compare Source

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

What's Changed

Missing attribute bugfix + extra standard derives on core::conversion structs.

Added
Fixed

v1.0.0

Compare Source

A Major Version

It's been a long time coming, but time has come to draw the line in the sand. No alphas, no betas. Hope it finds you all well. Thanks to everyone who has contributed over the years.

This is a somewhat symbolic gesture, because semver-breaking changes are still hard to avoid with a large set of sub-1.0 dependencies we need to bump, as well as managing the large api surface of Kubernetes.

Therefore, the plan is to align our breaking changes and major bumps with Kubernetes versions / k8s-openapi versions for now, and this should allow our other releases to stream in. See https://github.com/kube-rs/kube/issues/1688 for more information.

Kubernetes v1_33 support via k8s-openapi 0.25

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

New minimum versions: MSRV 1.82.0, MK8SV: 1.30*

KubeSchema

The CELSchema alternate derive for JsonSchema has been renamed to KubeSchema to indicate the increased functionality.

In addition to being able to inject CEL rules for validations, it can now also inject x-kubernetes properties such as merge-strategy via https://github.com/kube-rs/kube/pull/1750, handle #[validate] attributes https://github.com/kube-rs/kube/pull/1749, and pass validation rules as string literals https://github.com/kube-rs/kube/pull/1754 :


#[derive(CustomResource, Serialize, Deserialize, Debug, PartialEq, Clone, KubeSchema)]
#[kube(...properties)
struct DocumentSpec {
    /// New merge strategy support
    #[x_kube(merge_strategy = ListMerge::Set)]
    x_kubernetes_set: Vec<String>,

    /// CEL Validation now lives on x_kube and supports literal Rules:
    #[x_kube(validation = "!has(self.variantOne) || self.variantOne.int > 22")]
    complex_enum: ComplexEnum,
}

See kube.rs docs on validation for more info. Huge thanks to @​Danil-Grigorev.

What's Changed

Added
Changed
Removed
Fixed

New Contributors

Full Changelog: https://github.com/kube-rs/kube/compare/0.99.0...1.0.0


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 | `0.99.0` -> `1.1.0` | --- ### Release Notes <details> <summary>kube-rs/kube (kube)</summary> ### [`v1.1.0`](https://github.com/kube-rs/kube/blob/HEAD/CHANGELOG.md#110--2025-05-26) [Compare Source](https://github.com/kube-rs/kube/compare/1.0.0...1.1.0) \=================== <!-- Release notes generated using configuration in .github/release.yml at 1.1.0 --> #### What's Changed Missing attribute bugfix + extra standard derives on [core::conversion](https://docs.rs/kube/latest/kube/core/conversion/index.html) structs. ##### Added - Add missing derives on conversion types by [@&#8203;sbernauer](https://github.com/sbernauer) in https://github.com/kube-rs/kube/pull/1759 ##### Fixed - Emit `#[schemars(crate)]` attribute by [@&#8203;Techassi](https://github.com/Techassi) in https://github.com/kube-rs/kube/pull/1764 ### [`v1.0.0`](https://github.com/kube-rs/kube/releases/tag/1.0.0) [Compare Source](https://github.com/kube-rs/kube/compare/0.99.0...1.0.0) <!-- Release notes generated using configuration in .github/release.yml at 1.0.0 --> ##### A Major Version It's been a long time coming, but time has come to draw the line in the sand. No alphas, no betas. Hope it finds you all well. Thanks to everyone who has contributed over the years. This is a somewhat symbolic gesture, because semver-breaking changes are still hard to avoid with a large set of sub-1.0 dependencies we need to bump, as well as managing the large api surface of Kubernetes. Therefore, the plan is to align our breaking changes and major bumps with Kubernetes versions / k8s-openapi versions for now, and this should allow our other releases to stream in. See https://github.com/kube-rs/kube/issues/1688 for more information. #### Kubernetes `v1_33` support via `k8s-openapi` [0.25](https://github.com/Arnavion/k8s-openapi/blob/master/CHANGELOG.md#v0250-2025-05-11) Please [upgrade k8s-openapi along with kube](https://kube.rs/upgrading/) to avoid conflicts. New minimum versions: [MSRV](https://kube.rs/rust-version/) 1.82.0, [MK8SV](https://kube.rs/kubernetes-version/): 1.30[\*](https://github.com/kube-rs/kube/pull/1756) ##### KubeSchema The `CELSchema` alternate derive for `JsonSchema` has been renamed to `KubeSchema` to indicate the increased functionality. In addition to being able to inject CEL rules for validations, it can now also inject `x-kubernetes` properties such as [merge-strategy](https://kubernetes.io/docs/reference/using-api/server-side-apply/#merge-strategy) via https://github.com/kube-rs/kube/pull/1750, handle `#[validate]` attributes https://github.com/kube-rs/kube/pull/1749, and pass validation rules as string literals https://github.com/kube-rs/kube/pull/1754 : ```rust #[derive(CustomResource, Serialize, Deserialize, Debug, PartialEq, Clone, KubeSchema)] #[kube(...properties) struct DocumentSpec { /// New merge strategy support #[x_kube(merge_strategy = ListMerge::Set)] x_kubernetes_set: Vec<String>, /// CEL Validation now lives on x_kube and supports literal Rules: #[x_kube(validation = "!has(self.variantOne) || self.variantOne.int > 22")] complex_enum: ComplexEnum, } ``` See [kube.rs docs on validation](https://kube.rs/controllers/admission/#validation-using-cel-validation) for more info. Huge thanks to [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev). #### What's Changed ##### Added - feat(deps): enable `hyper-util/tracing` feature flag by [@&#8203;cratelyn](https://github.com/cratelyn) in https://github.com/kube-rs/kube/pull/1734 - Permit literal string validation for CEL expressions by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1754 ##### Changed - Support additional `x-kubernetes-*` schema extensions by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1750 - Bump `k8s-openapi` to `0.25.0` by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1756 ##### Removed - Remove deprecated `watcher::Event` `into_iter_*` methods by [@&#8203;clux](https://github.com/clux) in https://github.com/kube-rs/kube/pull/1738 ##### Fixed - docs: Adjust #\[kube(scale(...)] doc example by [@&#8203;Techassi](https://github.com/Techassi) in https://github.com/kube-rs/kube/pull/1733 - Add suffix to generated struct by `CELSchema` by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1747 - Allow schemars validate attribute in `CELSchema` by [@&#8203;Danil-Grigorev](https://github.com/Danil-Grigorev) in https://github.com/kube-rs/kube/pull/1749 - fix: resolve conflict with schemars preserve_order feature by [@&#8203;HoKim98](https://github.com/HoKim98) in https://github.com/kube-rs/kube/pull/1758 #### New Contributors - [@&#8203;cratelyn](https://github.com/cratelyn) made their first contribution in https://github.com/kube-rs/kube/pull/1734 - [@&#8203;JanBerktold](https://github.com/JanBerktold) made their first contribution in https://github.com/kube-rs/kube/pull/1752 **Full Changelog**: https://github.com/kube-rs/kube/compare/0.99.0...1.0.0 </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:eyJjcmVhdGVkSW5WZXIiOiI0MC4xMS4xMyIsInVwZGF0ZWRJblZlciI6IjQwLjMyLjYiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
renovate added 1 commit 2025-05-14 00:16:39 +00:00
Update Rust crate kube to v1
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
48fdc1bbb8
renovate force-pushed renovate/kube-1.x from 48fdc1bbb8 to 84d196a49e 2025-05-26 00:07:30 +00:00 Compare
renovate force-pushed renovate/kube-1.x from 84d196a49e to 60941aba9a 2025-05-27 00:07:07 +00:00 Compare
renovate force-pushed renovate/kube-1.x from 60941aba9a to e9dfe6c357 2025-05-30 00:07:29 +00:00 Compare
renovate force-pushed renovate/kube-1.x from e9dfe6c357 to e3a646a230 2025-06-04 00:22:04 +00:00 Compare
renovate changed title from Update Rust crate kube to v1 to Update Rust crate kube to v1 - autoclosed 2025-06-07 00:21:27 +00:00
renovate closed this pull request 2025-06-07 00:21:27 +00:00
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

Pull request closed

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#208
No description provided.