Skip to content

[Cargo]: Bump the kube group across 1 directory with 2 updates #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 14, 2025

Bumps the kube group with 2 updates in the / directory: k8s-openapi and kube.

Updates k8s-openapi from 0.24.0 to 0.25.0

Changelog

Sourced from k8s-openapi's changelog.

v0.25.0 (2025-05-11)

k8s-openapi

  • BREAKING CHANGE: Added support for Kubernetes 1.33 under the v1_33 feature.

  • BREAKING CHANGE: Dropped support for Kubernetes 1.28 and 1.29.

  • FEATURE: The crate now supports no_std by disabling its std feature.

Corresponding Kubernetes API server versions:

  • v1.30.12
  • v1.31.8
  • v1.32.4
  • v1.33.0

k8s-openapi-codegen-common

  • No changes.

k8s-openapi-derive

  • No changes except to bump the k8s-openapi-codegen-common dependency to the new version.

Commits
  • dcbbaef v0.25.0
  • d8b456d Drop v1.28, v1.29
  • e099f31 Backport StatefulSetSpec::serviceName optionality fix from v1.33.0
  • ab47fc9 Add v1.33.0
  • fc600a6 Fix / suppress new clippy lints.
  • f14de15 Update to v1.30.12, v1.31.8, v1.32.4
  • f9dcd19 Update to v1.32.3
  • 52b64a7 Update to v1.29.15, v1.30.11, v1.31.7
  • 30a268f Update kind to v0.27.0
  • be72c29 Update to v1.29.14, v1.30.10, v1.31.6, v1.32.2
  • Additional commits viewable in compare view

Updates kube from 0.99.0 to 1.0.0

Release notes

Sourced from kube's releases.

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 kube-rs/kube#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 kube-rs/kube#1750, handle #[validate] attributes kube-rs/kube#1749, and pass validation rules as string literals kube-rs/kube#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 = &quot;!has(self.variantOne) || self.variantOne.int &gt; 22&quot;)]
complex_enum: ComplexEnum,

}

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

What's Changed

Added

Changed

Removed

Fixed

... (truncated)

Changelog

Sourced from kube's changelog.

1.0.0 / 2025-05-13

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 kube-rs/kube#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 kube-rs/kube#1750, handle #[validate] attributes kube-rs/kube#1749, and pass validation rules as string literals kube-rs/kube#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 = &quot;!has(self.variantOne) || self.variantOne.int &gt; 22&quot;)]
complex_enum: ComplexEnum,

}

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

What's Changed

Added

Changed

Removed

Fixed

... (truncated)

Commits
  • ed3d390 release 1.0.0
  • 2f08a6f bump readme pin for k8s-openapi
  • e8a8c3b Merge pull request #1758 from ulagbulag/fix/correct-confliect-schemars-featur...
  • 3ca7a9a Merge pull request #1756 from kube-rs/k8s-025
  • c16deef fix: resolve conflict with schemars preserve_order feature
  • a68eaf2 clippy on wait
  • 6529708 update inconsequential license update on optional feature dep webpki-roots
  • 3c9d9a4 just bump-msrv 1.82.0
  • 06dcdcf no more compile constraints when limiting to kube >= 1.30
  • 3532128 jump bump-k8s
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the kube group with 2 updates in the / directory: [k8s-openapi](https://github.com/Arnavion/k8s-openapi) and [kube](https://github.com/kube-rs/kube).


Updates `k8s-openapi` from 0.24.0 to 0.25.0
- [Release notes](https://github.com/Arnavion/k8s-openapi/releases)
- [Changelog](https://github.com/Arnavion/k8s-openapi/blob/master/CHANGELOG.md)
- [Commits](Arnavion/k8s-openapi@v0.24.0...v0.25.0)

Updates `kube` from 0.99.0 to 1.0.0
- [Release notes](https://github.com/kube-rs/kube/releases)
- [Changelog](https://github.com/kube-rs/kube/blob/main/CHANGELOG.md)
- [Commits](kube-rs/kube@0.99.0...1.0.0)

---
updated-dependencies:
- dependency-name: k8s-openapi
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: kube
- dependency-name: kube
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: kube
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 14, 2025
@github-actions github-actions bot enabled auto-merge (squash) May 14, 2025 11:08
@github-actions github-actions bot merged commit 0819ca1 into main May 14, 2025
4 checks passed
@github-actions github-actions bot deleted the dependabot/cargo/kube-6b0e9ded30 branch May 14, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants