From b035c373db88beddca0febe629b5e83f827d7aad Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Wed, 17 May 2023 19:08:54 +0530 Subject: [PATCH] build latest sample-api-server for test/e2e v1.17.0 has been built at present where this commit make use of available latest version/tag for the build purpose. Signed-off-by: Humble Chirammal --- test/images/sample-apiserver/Makefile | 4 ++-- test/images/sample-apiserver/VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/images/sample-apiserver/Makefile b/test/images/sample-apiserver/Makefile index 4a13988ad63..cf664a3d8ba 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.17.0 to ensure the current release supports a prior version of the sample apiserver +# Build v1.27.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.17.0 && \ + git checkout tags/v0.27.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 \;" diff --git a/test/images/sample-apiserver/VERSION b/test/images/sample-apiserver/VERSION index 3661bc0374e..08002f86cc8 100644 --- a/test/images/sample-apiserver/VERSION +++ b/test/images/sample-apiserver/VERSION @@ -1 +1 @@ -1.17.7 +1.27.1