Skip to content

Commit 2c8e77e

Browse files
authored
update to kube-rs v0.85 and k8s-openapi v0.19 (#64)
This branch updates the dependency on `k8s-openapi` to v0.19 and the dependency on `kube-rs` to v0.85. This release of `k8s-openapi` also adds support for Kubernetes v1.27, so I've updated the CI integration workflow to run tests against that Kubernetes version as well as the existing ones. Since this is a breaking change (these are public API deps), I've gone ahead and bumped the crate version to v0.13.0, as well.
1 parent 2f142ef commit 2c8e77e

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/integration.yml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- v1.21
2929
- v1.25
3030
- v1.26
31+
- v1.27
3132
timeout-minutes: 10
3233
runs-on: ubuntu-latest
3334
env:

Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = [".", "integration"]
33

44
[package]
55
name = "k8s-gateway-api"
6-
version = "0.12.0"
6+
version = "0.13.0"
77
edition = "2021"
88
license = "Apache-2.0"
99
repository = "https://github.com/linkerd/k8s-gateway-api"
@@ -16,17 +16,17 @@ default = []
1616
experimental = []
1717

1818
[dependencies]
19-
kube = { version = "0.80", default-features = false, features = ["derive"] }
20-
k8s-openapi = { version = "0.17", features = ["schemars"] }
19+
kube = { version = "0.85", default-features = false, features = ["derive"] }
20+
k8s-openapi = { version = "0.19", features = ["schemars"] }
2121
schemars = { version = "0.8", features = ["derive"] }
2222
serde = { version = "1", features = ["derive"] }
2323
serde_json = "1"
2424

2525
[dev-dependencies.k8s-openapi]
26-
version = "0.17"
26+
version = "0.19"
2727
default-features = false
28-
features = ["v1_21"]
28+
features = ["v1_27"]
2929

3030
[package.metadata.docs.rs]
3131
rustdoc-args = ["--cfg", "docsrs"]
32-
features = ["experimental", "k8s-openapi/v1_25"]
32+
features = ["experimental", "k8s-openapi/v1_27"]

integration/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ license = "Apache-2.0"
66
publish = false
77

88
[dev-dependencies]
9-
k8s-openapi = { version = "0.17", features = ["v1_21"] }
9+
k8s-openapi = { version = "0.19", features = ["v1_27"] }
1010
tokio = { version = "1", features = ["macros", "rt"] }
1111
tracing = "0.1"
1212
k8s-gateway-api = { path = ".." }
1313

1414
[dev-dependencies.kube]
15-
version = "0.80"
15+
version = "0.85"
1616
default-features = false
1717
features = ["client", "openssl-tls", "runtime", "ws"]

0 commit comments

Comments
 (0)