From 4e6ee0a73183a2954551dab25a84696ba733e69e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Guilherme=20Vanz?= Date: Tue, 29 Oct 2024 13:35:49 -0300 Subject: [PATCH] chore(deps): bumps k8s API server version. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the k8s-openapi API server version in use to Kubernetes v1.31. Signed-off-by: José Guilherme Vanz --- .envrc | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- Cargo.toml | 6 +++--- Makefile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.envrc b/.envrc index 501003e..1d24dbc 100644 --- a/.envrc +++ b/.envrc @@ -1 +1 @@ -export K8S_OPENAPI_ENABLED_VERSION=1.30 +export K8S_OPENAPI_ENABLED_VERSION=1.31 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17b7869..1e77f76 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.30" + K8S_OPENAPI_ENABLED_VERSION: "1.31" jobs: ci: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 075e894..6b25abc 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.30" + K8S_OPENAPI_ENABLED_VERSION: "1.31" jobs: check: diff --git a/Cargo.toml b/Cargo.toml index 5e958f5..24ece11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "kubewarden-policy-sdk" description = "Kubewarden Policy SDK for the Rust language" repository = "https://github.com/kubewarden/policy-sdk-rust" -version = "0.11.1" +version = "0.11.2" authors = [ "Kubewarden developers ", "Flavio Castelli ", @@ -17,7 +17,7 @@ default = ["cluster-context"] cluster-context = ["k8s-openapi"] [package.metadata.docs.rs] -features = ["k8s-openapi/v1_30"] +features = ["k8s-openapi/v1_31"] [dependencies] anyhow = "1.0" @@ -55,6 +55,6 @@ assert-json-diff = "2.0.2" mockall = "0.13.0" serial_test = "3.1.1" k8s-openapi = { version = "0.23.0", default-features = false, features = [ - "v1_30", + "v1_31", ] } jsonpath_lib = "0.3.0" diff --git a/Makefile b/Makefile index 2b9b7e7..a5cf0cd 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -KUBE_API_VERSION?=1.30 +KUBE_API_VERSION?=1.31 .PHONY: fmt fmt: