From 7327620ff9ebc446fb7720a6953f11ae07f612bd Mon Sep 17 00:00:00 2001 From: Istvan Kispal Date: Tue, 28 May 2024 16:18:35 +0200 Subject: [PATCH] Bump up local kube-apiserver version to 1.30.1 to keep it aligned with the go-client module --- build/Dockerfile.apiserver | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/Dockerfile.apiserver b/build/Dockerfile.apiserver index 0cacc1ce..629970ad 100644 --- a/build/Dockerfile.apiserver +++ b/build/Dockerfile.apiserver @@ -15,14 +15,13 @@ FROM golang:1.22.2-bookworm as builder WORKDIR /workspace/src -RUN git clone https://github.com/kubernetes/kubernetes --branch v1.23.2 --depth=1 +RUN git clone https://github.com/kubernetes/kubernetes --branch v1.30.1 --depth=1 WORKDIR /workspace/src/kubernetes RUN apt-get update && apt-get install --yes rsync -RUN make generated_files -RUN CGO_ENABLED=0 go build -o /workspace/artifacts/kube-apiserver ./cmd/kube-apiserver +RUN make kube-apiserver FROM gcr.io/distroless/static -COPY --from=builder /workspace/artifacts/kube-apiserver /kube-apiserver +COPY --from=builder /workspace/src/kubernetes/_output/local/bin/linux/amd64/kube-apiserver /kube-apiserver #USER 65532:65532