From e172a29bde7dde5049b07b8b89758757ccbe72a5 Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Mon, 9 Oct 2023 17:04:44 +0200 Subject: [PATCH 1/2] bump envtest to 1.28.0 --- hack/check-everything.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f772f866d593f283c7f34b000ce6355aa33d7b8a Mon Sep 17 00:00:00 2001 From: Christoph Mewes Date: Mon, 9 Oct 2023 18:46:40 +0200 Subject: [PATCH 2/2] v2beta1 was removed in 1.25 --- pkg/handler/eventhandler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{