From 232332925d1a2ec2aa7a298b1488962f2ffee3bd Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Wed, 25 Nov 2026 13:21:56 +0100 Subject: [PATCH] chore: Bump kube to 5.2.0 --- Cargo.lock | 21 ++++++++++----------- Cargo.toml | 2 +- crates/stackable-operator/CHANGELOG.md | 5 +++++ 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7ba13fef0..5c259b419 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1569,7 +1569,6 @@ dependencies = [ "hyper-util", "log", "rustls", - "rustls-native-certs", "tokio", "tokio-rustls", "tower-service", @@ -2072,9 +2071,9 @@ checksum = "a4933f3f57a8e9d9da04db23fb153356ecaf00cbd14aee46279c33dc80925c37" [[package]] name = "kube" -version = "5.1.0" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee2daae7debf056a191329a20b5ba6f6de6d437e87d14e586453633b3de04f7f" +checksum = "f95e1a9107878bef32cfbe2e5e084584db832c9616df9981adc4673f9fb1c853" dependencies = [ "k8s-openapi", "kube-client", @@ -2102,9 +2101,9 @@ dependencies = [ [[package]] name = "kube-client" -version = "5.1.0" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23c0cbc565d35cd1e1997537a22d386abedc62cc2e7e70f91c08f9928012d845" +checksum = "703ee17477c86501627e83492895c06ab6fc2c55a319bb2fbc582ccae739ba67" dependencies = [ "base64 0.23.1", "bytes", @@ -2141,9 +2140,9 @@ dependencies = [ [[package]] name = "kube-core" -version = "5.1.0" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca27486a6fbf5e74ec7b411faf1d5bab8a3e489b93f958391c698f27d693014f" +checksum = "b5e9a9aa533b2f4106ac1ac45e168bb452325eb9e918d57335444f60bef34ffc" dependencies = [ "derive_more", "form_urlencoded", @@ -2161,9 +2160,9 @@ dependencies = [ [[package]] name = "kube-derive" -version = "5.1.0" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f4ad02a27b7385ca9da44d83788aca4f11feeebf2ee57ded3003037051019f" +checksum = "cedc991dbe7757a646098dead35e070e13ce66e2996b02162ac7f97eb97f4d6e" dependencies = [ "darling 0.24.1", "proc-macro2", @@ -2175,9 +2174,9 @@ dependencies = [ [[package]] name = "kube-runtime" -version = "5.1.0" +version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa7b047ec6a5081f57fcd656308d640a9796d7684f56cc01a7a3131f92050478" +checksum = "ca78d9eeb4674eb75e381e6a956e8a5005942928dec87de4db9ef9701af8a637" dependencies = [ "ahash", "async-broadcast", diff --git a/Cargo.toml b/Cargo.toml index 2d93394c3..d32da6420 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ json-patch = "4.2.0" k8s-openapi = { version = "0.29.0", default-features = false, features = ["schemars", "v1_36"] } # We use rustls instead of openssl for easier portability, e.g. so that we can build stackablectl without the need to vendor (build from source) openssl # We use ring instead of aws-lc-rs, as this currently fails to build in "make run-dev" -kube = { version = "5.1.0", default-features = false, features = ["client", "jsonpatch", "runtime", "derive", "admission", "rustls-tls", "ring"] } +kube = { version = "5.2.0", default-features = false, features = ["client", "jsonpatch", "runtime", "derive", "admission", "rustls-tls", "ring"] } local-ip-address = "0.6.13" opentelemetry = "0.33.1" opentelemetry_sdk = { version = "0.33.1", features = ["rt-tokio"] } diff --git a/crates/stackable-operator/CHANGELOG.md b/crates/stackable-operator/CHANGELOG.md index 86105af8e..2531f7406 100644 --- a/crates/stackable-operator/CHANGELOG.md +++ b/crates/stackable-operator/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - Add `utils::crds::raw_any_nullable_value_schema`, which accepts any JSON value (not only objects) ([#1326]). +### Changed + +- Bump `kube` to `5.2.0`, which fixes RUSTSEC-2026-0600 ([#1340]). + ### Fixed - `ProductImage::resolve` no longer panics on long product versions or image tags containing @@ -22,6 +26,7 @@ All notable changes to this project will be documented in this file. [#1326]: https://github.com/stackabletech/operator-rs/pull/1326 [#1338]: https://github.com/stackabletech/operator-rs/pull/1338 [#1339]: https://github.com/stackabletech/operator-rs/pull/1339 +[#1340]: https://github.com/stackabletech/operator-rs/pull/1340 ## [0.122.0] - 2026-11-03