From 642ae7eb86c075442adf568f3ebc55b7c0e0978d Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Mon, 9 Oct 2023 20:02:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20Bump=20envtest=20to=201.28.0=20(?= =?UTF-8?q?#2531)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * bump envtest to 1.28.0 * v2beta1 was removed in 1.25 --- hack/check-everything.sh | 2 +- pkg/handler/eventhandler_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/check-everything.sh b/hack/check-everything.sh index 09f2a901d4..5cb9cb52de 100755 --- a/hack/check-everything.sh +++ b/hack/check-everything.sh @@ -28,7 +28,7 @@ kb_root_dir=$tmp_root/kubebuilder ${hack_dir}/verify.sh # Envtest. -ENVTEST_K8S_VERSION=${ENVTEST_K8S_VERSION:-"1.24.2"} +ENVTEST_K8S_VERSION=${ENVTEST_K8S_VERSION:-"1.28.0"} header_text "installing envtest tools@${ENVTEST_K8S_VERSION} with setup-envtest if necessary" tmp_bin=/tmp/cr-tests-bin diff --git a/pkg/handler/eventhandler_test.go b/pkg/handler/eventhandler_test.go index 6ae87b0988..e433219e81 100644 --- a/pkg/handler/eventhandler_test.go +++ b/pkg/handler/eventhandler_test.go @@ -467,7 +467,7 @@ var _ = Describe("Eventhandler", func() { { Name: "foo-parent", Kind: "HorizontalPodAutoscaler", - APIVersion: "autoscaling/v2beta1", + APIVersion: "autoscaling/v2", }, } evt := event.CreateEvent{