Skip to content

Commit 356fb71

Browse files
authored
chore(stackable-operator): Revert and pin k8s-openapi to 0.26.0 (#1135)
* chore(stackable-operator): Revert and pin k8s-openapi to 0.26.0 Newer versions of k8s-openapi surface a schemars bug for optional quantities. See: kube-rs/kube#1869 See also kube-rs/kube#1885 (comment) * chore: Update changelog
1 parent 13cf694 commit 356fb71

File tree

4 files changed

+36
-17
lines changed

4 files changed

+36
-17
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@ darling = "0.23.0"
2323
delegate = "0.13.0"
2424
dockerfile-parser = "0.9.0"
2525
ecdsa = { version = "0.16.9", features = ["digest", "pem"] }
26-
educe = { version = "0.6.0", default-features = false, features = ["Clone", "Debug", "Default", "PartialEq", "Eq"] }
26+
educe = { version = "0.6.0", default-features = false, features = ["Clone", "Debug", "Default", "PartialEq", "Eq"] }
2727
either = "1.13.0"
2828
futures = "0.3.30"
2929
futures-util = "0.3.30"
3030
http = "1.3.1"
3131
indexmap = "2.5.0"
3232
indoc = "2.0.6"
33-
insta = { version= "1.40", features = ["glob"] }
33+
insta = { version = "1.40", features = ["glob"] }
3434
hyper = { version = "1.4.1", features = ["full"] }
3535
hyper-util = "0.1.8"
3636
itertools = "0.14.0"
3737
json-patch = "4.0.0"
38-
k8s-openapi = { version = "0.26.0", default-features = false, features = ["schemars", "v1_34"] }
38+
# k8s-openapi 0.26.1 doesn't play well with our kube version: https://github.com/kube-rs/kube/issues/1869
39+
k8s-openapi = { version = "=0.26.0", default-features = false, features = ["schemars", "v1_34"] }
3940
# 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
4041
# We use ring instead of aws-lc-rs, as this currently fails to build in "make run-dev"
4142
# We pin the kube version, as we use a patch for 2.0.1

crates/stackable-operator/CHANGELOG.md

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

55
## [Unreleased]
66

7+
### Changed
8+
9+
- Revert and pin k8s-openapi to 0.26.0 ([#1135]).
10+
11+
[#1135]: https://github.com/stackabletech/operator-rs/pull/1135
12+
713
## [0.101.2] - 2026-01-07
814

915
### Changed

0 commit comments

Comments
 (0)