Skip to content

Commit

Permalink
update to kube-rs v0.85 and k8s-openapi v0.19 (#64)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hawkw authored Aug 15, 2023
1 parent 2f142ef commit 2c8e77e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- v1.21
- v1.25
- v1.26
- v1.27
timeout-minutes: 10
runs-on: ubuntu-latest
env:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [".", "integration"]

[package]
name = "k8s-gateway-api"
version = "0.12.0"
version = "0.13.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/linkerd/k8s-gateway-api"
Expand All @@ -16,17 +16,17 @@ default = []
experimental = []

[dependencies]
kube = { version = "0.80", default-features = false, features = ["derive"] }
k8s-openapi = { version = "0.17", features = ["schemars"] }
kube = { version = "0.85", default-features = false, features = ["derive"] }
k8s-openapi = { version = "0.19", features = ["schemars"] }
schemars = { version = "0.8", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

[dev-dependencies.k8s-openapi]
version = "0.17"
version = "0.19"
default-features = false
features = ["v1_21"]
features = ["v1_27"]

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
features = ["experimental", "k8s-openapi/v1_25"]
features = ["experimental", "k8s-openapi/v1_27"]
4 changes: 2 additions & 2 deletions integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ license = "Apache-2.0"
publish = false

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

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

0 comments on commit 2c8e77e

Please sign in to comment.