From ea99da717578a4402284401018acae830567908d Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Wed, 2 Sep 2026 19:41:50 +0200 Subject: [PATCH] feat: Add `kube-http-proxy` and `kube-socks5` Cargo features The default features are unchanged. This allows us to enable these features in stackablectl (and elsewhere). Instead of ignoring a HTTP(S)_PROXY variable kube just refuses to build a client if it sees them but not the feature. --- crates/stackable-operator/CHANGELOG.md | 5 +++++ crates/stackable-operator/Cargo.toml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/crates/stackable-operator/CHANGELOG.md b/crates/stackable-operator/CHANGELOG.md index 0d47fab3c..3b9f970f0 100644 --- a/crates/stackable-operator/CHANGELOG.md +++ b/crates/stackable-operator/CHANGELOG.md @@ -4,11 +4,16 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Added + +- Add the Cargo features `kube-http-proxy` and `kube-socks5` that enable the `http-proxy` and `socks5` features on the `kube` crate ([#1269]). + ### Changed - BREAKING: `ClusterResources` now warns about `objectOverrides` entries that did not match any of the objects it created. To enable this, the signatures of `apply_deep_merge` and `ObjectOverrides::apply_to` needed to be adjusted ([#1264]). [#1264]: https://github.com/stackabletech/operator-rs/pull/1264 +[#1269]: https://github.com/stackabletech/operator-rs/pull/1269 ## [0.116.0] - 2026-08-14 diff --git a/crates/stackable-operator/Cargo.toml b/crates/stackable-operator/Cargo.toml index 6b49310de..dd2f4380b 100644 --- a/crates/stackable-operator/Cargo.toml +++ b/crates/stackable-operator/Cargo.toml @@ -9,7 +9,7 @@ repository.workspace = true [features] default = ["crds"] -full = ["client-feature-gates", "crds", "certs", "test-support", "time", "webhook", "kube-ws", "kube-cel"] +full = ["client-feature-gates", "crds", "certs", "test-support", "time", "webhook", "kube-ws", "kube-cel", "kube-http-proxy", "kube-socks5"] client-feature-gates = ["dep:winnow"] crds = ["dep:stackable-versioned"] @@ -19,6 +19,8 @@ time = ["stackable-shared/time"] webhook = ["dep:stackable-webhook"] kube-ws = ["kube/ws"] kube-cel = ["kube/cel"] +kube-http-proxy = ["kube/http-proxy"] +kube-socks5 = ["kube/socks5"] [dependencies] stackable-certs = { path = "../stackable-certs", optional = true }