Skip to content

Commit

Permalink
update to kube-rs v0.85 and k8s-openapi v0.19 (#180)
Browse files Browse the repository at this point in the history
This branch updates `kubert`'s dependencies on `kube-rs` to v0.85 and
`k8s-openapi` to v0.19. This release of `k8s-openapi` adds support for
Kubernetes v1.27.

I've also gone ahead and bumped `kubert`'s version to v0.18, since this
is a breaking change.
  • Loading branch information
hawkw authored Aug 15, 2023
1 parent f8b6aa7 commit 9ac1ea6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ default-features = false
features = ["derive", "help", "env", "std"]

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

[dev-dependencies.kube]
version = "0.84"
version = "0.85"
default-features = false
features = ["client", "derive", "rustls-tls", "runtime"]

Expand Down
18 changes: 9 additions & 9 deletions kubert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kubert"
version = "0.17.0"
version = "0.18.0"
edition = "2021"
license = "Apache-2.0"
description = "Kubernetes runtime helpers. Based on kube-rs."
Expand Down Expand Up @@ -120,7 +120,7 @@ shutdown = [
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
features = ["k8s-openapi/v1_26"]
features = ["k8s-openapi/v1_27"]

[dependencies]
ahash = { version = "0.8", optional = true }
Expand Down Expand Up @@ -164,23 +164,23 @@ features = ["derive", "std"]
# Not used directly, but required to ensure that the k8s-openapi dependency is considered part of
# the "deps" graph rather than just the "dev-deps" graph
[dependencies.k8s-openapi]
version = "0.18"
version = "0.19"
optional = true
default-features = false

[dependencies.kube-client]
version = "0.84"
version = "0.85"
optional = true
default-features = false
features = ["client", "config"]

[dependencies.kube-core]
version = "0.84"
version = "0.85"
optional = true
default-features = false

[dependencies.kube-runtime]
version = "0.84"
version = "0.85"
optional = true
default-features = false

Expand All @@ -193,15 +193,15 @@ features = ["env-filter", "fmt", "json", "smallvec", "tracing-log"]
# === Dev ===

[dev-dependencies]
kube = { version = "0.84", default-features = false, features = ["runtime"] }
kube = { version = "0.85", default-features = false, features = ["runtime"] }
tokio-stream = "0.1"
tokio-test = "0.4"
tracing-subscriber = { version = "0.3", features = ["ansi"] }

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

[dev-dependencies.tokio]
version = "1.18"
Expand Down

0 comments on commit 9ac1ea6

Please sign in to comment.