chore(deps): Update Rust crate kube to v4 - #116
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/kube-4.x
branch
from
July 21, 2026 02:46
77cd169 to
77a5901
Compare
renovate
Bot
force-pushed
the
renovate/kube-4.x
branch
from
July 25, 2026 10:31
77a5901 to
fdfb821
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0→4.0Release Notes
kube-rs/kube (kube)
v4.2.0Compare Source
===================
v4.0.0Compare 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_36support via k8s-openapi 0.28Please upgrade k8s-openapi along with kube to avoid conflicts.
CEL Validation
A new optional crate kube-cel is being re-exported through
kube::core::celvia #1954Kubernetes CRDs support CEL validation rules via
x-kubernetes-validations, and were supported from 3.0 viaKubeSchema, 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
CustomResourcevia#[kube(cel)]from #2011 and can be used as;See examples/crd_derive_cel.rs for more details.
This is available under the
kube/celfeature, courtesy of @doxxx93.Config
A lot of improvements to config handling;
Kubeconfigfields in #1965Kubeconfigfuture key compatibility for new fields by adding catch-allotherkey via #1964serde-yamltoserde-saphyrto get rid of the long-deprecated dependency. #1975Retry and Timeouts
Better timeout and retry handling to better deal with flaky network conditions, and busy or initializing apiservers.
watcherlevel timeouts in #1945 (see #1798 for context)RetryPolicy- now enabled by default in #2007.Client
tls-server-namewithopenssl-tlsvia #1993yamloutput fromexecplugins via #2003wstask leak anddrop, and a deadlock onjoin()via #1978Runtime
watcherautomatically uses themetadata_api methods when called withPartialObjectMeta<K>via #1952metadata_watcherin favor of an explicit change fromApi::<K>toApi::<PartialObjectMeta<K>>)wait::conditions::is_createdas a counter tois_deleted#2000Store::state_filteredandStore::state_filter_selectorto allow more efficient slicing of the locked cache via #2002 + #1998What's Changed
Added
AdmissionRequest::to_cel_request()for VAP CEL bridging by @doxxx93 in #1991Store::state_withandStore::state_filteredby @Alvov1 in #1998wait::conditions::is_createdhelper by @orangecms in #2000RetryPolicy::server_retryby default forClientby @Danil-Grigorev in #2007Changed
Fixed
fix: feature-flag CREATE_NO_WINDOW to not break stderr inheritance by @cristeigabriela in #1971
Remove silent error when client-key/client-certificate is malformed by @goenning in #1966
Fix AttachedProcess task leak on drop and join() deadlock by @SebTardif in #1978
support auth exec yaml output by @aviramha in #2003
fix(client): apply tls-server-name on the openssl-tls path by @dgunzy in #1993
Use the resource's own name for the schema title by @cehoffman in #1985
@alex-lapuka made their first contribution in #1965
@cristeigabriela made their first contribution in #1971
@mattklein123 made their first contribution in #1972
@chrnorm made their first contribution in #1962
@SebTardif made their first contribution in #1978
@Alvov1 made their first contribution in #1998
@orangecms made their first contribution in #2000
@dgunzy made their first contribution in #1993
@cehoffman made their first contribution in #1985
Full Changelog: kube-rs/kube@3.1.0...4.0.0
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.