Skip to content

Commit 63e6d54

Browse files
committed
fix(deps): update kube-client to 5.2.0 on Rust 1.95
Raise the minimum compiler for the product and the packages that build against it to the Rust version already pinned in CI. Update the exact kube family constraints and regenerate the eleven affected lockfiles. Remove the RUSTSEC-2026-0600 exception now that kube-client enforces the configured cluster CA on the OpenSSL connector. Signed-off-by: Adrien Langou <alangou@nvidia.com>
1 parent 52ab7ff commit 63e6d54

35 files changed

Lines changed: 716 additions & 287 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
197197

198198
Linux/macOS development requirements:
199199

200-
- Rust 1.94+
200+
- Rust 1.95+
201201
- Python 3.11+
202202
- Docker (running)
203203

‎Cargo.lock‎

Lines changed: 70 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ members = ["crates/*", "tests/policy-conformance"]
88
[workspace.package]
99
version = "0.0.0"
1010
edition = "2024"
11-
rust-version = "1.94"
11+
rust-version = "1.95"
1212
license = "Apache-2.0"
1313
repository = "https://github.com/ai-openshell/openshell"
1414

@@ -156,8 +156,8 @@ sqlx = { version = "0.9", default-features = false, features = ["runtime-tokio",
156156
sqlx-core = { version = "0.9", default-features = false, features = ["rustls-native-certs"] }
157157

158158
# Kubernetes
159-
kube = { version = "=5.0.0", default-features = false, features = ["client", "runtime", "derive", "rustls-tls"] }
160-
kube-runtime = "=5.0.0"
159+
kube = { version = "=5.2.0", default-features = false, features = ["client", "runtime", "derive", "rustls-tls"] }
160+
kube-runtime = "=5.2.0"
161161
k8s-openapi = { version = "0.29", features = ["v1_33"] }
162162

163163
# IDs

‎deny.toml‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ ignore = [
1919
# oauth2, oci-client, russh-sftp, and russh-util.
2020
# https://github.com/chronotope/chrono/issues/1768
2121
{ id = "RUSTSEC-2026-0543", reason = "chrono is unmaintained; remove after first-party time APIs and all covered dependency graphs migrate to maintained alternatives and pass validation" },
22-
# kube 5.0.0 pins kube-client to =5.0.0. OpenShell uses rustls-tls.
23-
# The cluster CA advisory affects the openssl-tls connector.
24-
# The 5.2.0 fix requires Rust 1.95, above OpenShell's minimum of 1.94.
25-
# The 4.2.1 backport drops kubeconfig impersonation UID and extra headers.
26-
# https://rustsec.org/advisories/RUSTSEC-2026-0600.html
27-
# https://github.com/kube-rs/kube/pull/2116
28-
{ id = "RUSTSEC-2026-0600", reason = "Remove once a patched kube release preserves Kubernetes client behavior on OpenShell's supported Rust versions and passes validation across the covered workspaces" },
2922
]
3023

3124
# -- Licenses ------------------------------------------------------------------

0 commit comments

Comments
 (0)