Skip to content

Commit b544158

Browse files
authored
feat: Add kube-http-proxy and kube-socks5 Cargo features (#1269)
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.
1 parent f0ccfb0 commit b544158

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

crates/stackable-operator/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Add the Cargo features `kube-http-proxy` and `kube-socks5` that enable the `http-proxy` and `socks5` features on the `kube` crate ([#1269]).
10+
711
### Changed
812

913
- 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]).
1014

1115
[#1264]: https://github.com/stackabletech/operator-rs/pull/1264
16+
[#1269]: https://github.com/stackabletech/operator-rs/pull/1269
1217

1318
## [0.116.0] - 2026-08-14
1419

crates/stackable-operator/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository.workspace = true
99

1010
[features]
1111
default = ["crds"]
12-
full = ["client-feature-gates", "crds", "certs", "test-support", "time", "webhook", "kube-ws", "kube-cel"]
12+
full = ["client-feature-gates", "crds", "certs", "test-support", "time", "webhook", "kube-ws", "kube-cel", "kube-http-proxy", "kube-socks5"]
1313

1414
client-feature-gates = ["dep:winnow"]
1515
crds = ["dep:stackable-versioned"]
@@ -19,6 +19,8 @@ time = ["stackable-shared/time"]
1919
webhook = ["dep:stackable-webhook"]
2020
kube-ws = ["kube/ws"]
2121
kube-cel = ["kube/cel"]
22+
kube-http-proxy = ["kube/http-proxy"]
23+
kube-socks5 = ["kube/socks5"]
2224

2325
[dependencies]
2426
stackable-certs = { path = "../stackable-certs", optional = true }

0 commit comments

Comments
 (0)