Skip to content

Commit c62bdb8

Browse files
committed
Upgrade to kube-rs 0.75.0 (Api-Less Edition(TM)) (#490)
## Description This is an alternate take on #481/#471 that does not introduce a new operator-framework-level `Api` type. Instead, it introduces a new `GetApi` trait that lets `Client::get_api` specialize as needed. Co-authored-by: Teo Klestrup Röijezon <[email protected]>
1 parent 16df640 commit c62bdb8

File tree

8 files changed

+160
-65
lines changed

8 files changed

+160
-65
lines changed

CHANGELOG.md

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

55
## [Unreleased]
66

7+
### Changed
8+
9+
- kube-rs: 0.74.0 -> 0.75.0 ([#490]).
10+
- BREAKING: `Client` methods now take the namespace as a `&str` (for namespaced resources) or
11+
`&()` (for cluster-scoped resources), rather than always taking an `Option<&str>` ([#490]).
12+
13+
[#490]: https://github.com/stackabletech/operator-rs/pull/490
14+
715
## [0.25.3] - 2022-10-13
816

917
### Added

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ const_format = "0.2.26"
1414
either = "1.8.0"
1515
futures = "0.3.23"
1616
json-patch = "0.2.6"
17-
k8s-openapi = { version = "0.15.0", default-features = false, features = ["schemars", "v1_24"] }
18-
kube = { version = "0.74.0", features = ["jsonpatch", "runtime", "derive"] }
17+
k8s-openapi = { version = "0.16.0", default-features = false, features = ["schemars", "v1_24"] }
18+
kube = { version = "0.75.0", features = ["jsonpatch", "runtime", "derive"] }
1919
lazy_static = "1.4.0"
2020
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.4.0" }
2121
rand = "0.8.5"

0 commit comments

Comments
 (0)