From 4d063b63cb2583b6be9893458702f61c2243fbf2 Mon Sep 17 00:00:00 2001 From: Jeffrey Ying Date: Thu, 12 Sep 2024 13:05:53 -0400 Subject: [PATCH 1/2] Bump sample-apiserver test image to 1.31 --- test/images/sample-apiserver/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/images/sample-apiserver/Makefile b/test/images/sample-apiserver/Makefile index 53b9321f698..d8aab7d8918 100644 --- a/test/images/sample-apiserver/Makefile +++ b/test/images/sample-apiserver/Makefile @@ -21,7 +21,7 @@ SRC_DIR = $(notdir $(shell pwd)) KUBE_CROSS_VERSION ?= $(shell cat ../../../build/build-image/cross/VERSION) export -# Build v1.29.2 to ensure the current release supports a prior version of the sample apiserver +# Build v1.31.1 to ensure the current release supports a prior version of the sample apiserver # Get without building to populate module cache # Then, get with OS/ARCH-specific env to build bin: @@ -30,7 +30,7 @@ bin: mkdir -p /go/src /go/bin && \ git clone https://github.com/kubernetes/sample-apiserver /go/src/k8s.io/sample-apiserver && \ cd /go/src/k8s.io/sample-apiserver && \ - git checkout tags/v0.29.2 && \ + git checkout tags/v0.31.1 && \ go mod tidy && \ GO111MODULE=on CGO_ENABLED=0 GOARM=${GOARM} GOOS=${OS} GOARCH=${ARCH} go install . && \ find /go/bin -name sample-apiserver* -exec cp {} ${TARGET}/sample-apiserver \;" From 894960177a37d17d34971281938a7cc047f708ef Mon Sep 17 00:00:00 2001 From: Jeffrey Ying Date: Thu, 12 Sep 2024 13:08:21 -0400 Subject: [PATCH 2/2] Update VERSION to 1.31.1 for sample-apiserver --- test/images/sample-apiserver/VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/images/sample-apiserver/VERSION b/test/images/sample-apiserver/VERSION index 412114252fd..6bae540243f 100644 --- a/test/images/sample-apiserver/VERSION +++ b/test/images/sample-apiserver/VERSION @@ -1 +1 @@ -1.29.2 +1.31.1