Skip to content

Commit

Permalink
deps: Target k8s version 1.30
Browse files Browse the repository at this point in the history
Bump the k8s version that k8s-openapi uses.
Target 1.30 elsewhere.

Signed-off-by: Víctor Cuadrado Juan <[email protected]>
  • Loading branch information
viccuad committed Jul 3, 2024
1 parent a19a0ea commit ad7d4d8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export K8S_OPENAPI_ENABLED_VERSION=1.27
export K8S_OPENAPI_ENABLED_VERSION=1.30
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
# This is required because commands like `cargo check` do not
# read the cargo development dependencies.
# See https://github.com/Arnavion/k8s-openapi/issues/132
K8S_OPENAPI_ENABLED_VERSION: "1.27"
K8S_OPENAPI_ENABLED_VERSION: "1.30"

jobs:
ci:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
# This is required because commands like `cargo check` do not
# read the cargo development dependencies.
# See https://github.com/Arnavion/k8s-openapi/issues/132
K8S_OPENAPI_ENABLED_VERSION: "1.27"
K8S_OPENAPI_ENABLED_VERSION: "1.30"

jobs:
check:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ default = ["cluster-context"]
cluster-context = ["k8s-openapi"]

[package.metadata.docs.rs]
features = ["k8s-openapi/v1_27"]
features = ["k8s-openapi/v1_30"]

[dependencies]
anyhow = "1.0"
Expand Down Expand Up @@ -55,6 +55,6 @@ assert-json-diff = "2.0.2"
mockall = "0.12.1"
serial_test = "3.1.1"
k8s-openapi = { version = "0.22.0", default-features = false, features = [
"v1_27",
"v1_30",
] }
jsonpath_lib = "0.3.0"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KUBE_API_VERSION?=1.27
KUBE_API_VERSION?=1.30

.PHONY: fmt
fmt:
Expand Down

0 comments on commit ad7d4d8

Please sign in to comment.