From ad7d4d8fc63a0f568775bc39ac14702b9f8d7c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Wed, 3 Jul 2024 15:55:25 +0200 Subject: [PATCH] deps: Target k8s version 1.30 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump the k8s version that k8s-openapi uses. Target 1.30 elsewhere. Signed-off-by: VĂ­ctor Cuadrado Juan --- .envrc | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- Cargo.toml | 4 ++-- Makefile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.envrc b/.envrc index 3a26799..501003e 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -export K8S_OPENAPI_ENABLED_VERSION=1.27 +export K8S_OPENAPI_ENABLED_VERSION=1.30 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7799084..1ee9c7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f8ccf74..e9cbf5f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index 8c5e730..9e16577 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" @@ -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" diff --git a/Makefile b/Makefile index 4541c8c..2b9b7e7 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -KUBE_API_VERSION?=1.27 +KUBE_API_VERSION?=1.30 .PHONY: fmt fmt: