Skip to content

chore(deps): update rust crate kube-core to v4 - #665

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kube-core-4.x
Open

chore(deps): update rust crate kube-core to v4#665
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/kube-core-4.x

Conversation

@renovate

@renovate renovate Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
kube-core workspace.dependencies major 3.14.0

Release Notes

kube-rs/kube (kube-core)

v4.0.0

Compare Source

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

New Major

As per the release schedule to match up with the latest Kubernetes ハル release.
Lots of fixes and improvements. Thanks to everyone who contributed!

Kubernetes v1_36 support via k8s-openapi 0.28

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

CEL Validation

A new optional crate kube-cel is being re-exported through kube::core::cel via #​1954

Kubernetes CRDs support CEL validation rules via x-kubernetes-validations, and were supported from 3.0 via KubeSchema, but these rules could only be evaluated server-side by the API server.

The new crate allows evaluating these rules locally using rules matching the upstream Kubernetes CEL libraries.

While low-level, a higher-level CEL validator integrates with CustomResource via #[kube(cel)] from #​2011 and can be used as;

#[derive(CustomResource, Serialize, Deserialize, Clone, KubeSchema)]
#[kube(group = "example.com", version = "v1", kind = "Foo", namespaced)]

#[kube(cel, validation = "self.spec.replicas >= 0")] // cel trigger + validation rule
struct FooSpec { replicas: i32 }

let foo = Foo::new("test", FooSpec { replicas: -1 });
foo.validate_cel()?;                     // new impl; checks creation rules
new_foo.validate_cel_update(&old_foo)?;  // new impl; checks transition rules

See examples/crd_derive_cel.rs for more details.

This is available under the kube/cel feature, courtesy of @​doxxx93.

Config

A lot of improvements to config handling;

  • better error handling of malformed client certs in #​1966
  • add missing Kubeconfig fields in #​1965
  • Kubeconfig future key compatibility for new fields by adding catch-all other key via #​1964
  • deserialization changed from serde-yaml to serde-saphyr to get rid of the long-deprecated dependency. #​1975
Retry and Timeouts

Better timeout and retry handling to better deal with flaky network conditions, and busy or initializing apiservers.

  • default global read timeouts has been unset in favor of watcher level timeouts in #​1945 (see #​1798 for context)
  • regular (non-watch) queries now respect the RetryPolicy - now enabled by default in #​2007.
Client
  • properly handling rotating ca certs in cluster via #​1962
  • handle tls-server-name with openssl-tls via #​1993
  • auth exec: accept yaml output from exec plugins via #​2003
  • fix ws task leak and drop, and a deadlock on join() via #​1978
  • change: client tracing now opt-in due to issues. see #​1972
Runtime

What's Changed

Added
Changed
Fixed

Full Changelog: kube-rs/kube@3.1.0...4.0.0


Configuration

📅 Schedule: (in timezone America/Sao_Paulo)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 Pull requests that update a dependency file label Jun 17, 2026
@renovate
renovate Bot requested a review from hcavarsan as a code owner June 17, 2026 05:54
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 17, 2026
@renovate

renovate Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
error: failed to parse manifest at `/tmp/renovate/repos/github/hcavarsan/kftray/Cargo.toml`

Caused by:
  the cargo feature `profile-rustflags` requires a nightly version of Cargo, but this is the `stable` channel
  See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
  See https://doc.rust-lang.org/cargo/reference/unstable.html#profile-rustflags-option for more information about using this feature.

@hcavarsan

Copy link
Copy Markdown
Owner

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.72%. Comparing base (5a27f10) to head (f7f4b42).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #665      +/-   ##
==========================================
- Coverage   49.76%   49.72%   -0.05%     
==========================================
  Files         164      164              
  Lines       36496    36496              
==========================================
- Hits        18164    18149      -15     
- Misses      18332    18347      +15     
Components Coverage Δ
kftray-commons 81.99% <ø> (ø)
kftray-http-logs 80.11% <ø> (ø)
kftray-portforward 45.29% <ø> (+0.04%) ⬆️
kftray-server 75.35% <ø> (ø)
kftray-tauri 36.26% <ø> (ø)
kftui 33.99% <ø> (ø)

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added stale and removed stale labels Jul 17, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant