From 74e50378b90dd0872c515f9d300e11c2b0eef016 Mon Sep 17 00:00:00 2001 From: Olivier ORAND Date: Wed, 27 Nov 2024 15:50:10 +0000 Subject: [PATCH] k8s-tools: update kubectl download url and fix SHA-256 --- k8s-tools/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/k8s-tools/Dockerfile b/k8s-tools/Dockerfile index d3df4fac..aba4b05f 100644 --- a/k8s-tools/Dockerfile +++ b/k8s-tools/Dockerfile @@ -51,9 +51,10 @@ RUN echo "Computed sha256sum: $(sha256sum ${KAPP_FILENAME})" \ # renovate: datasource=github-tags depName=kubernetes/kubectl ENV KUBECTL_VERSION 1.28.15 -ENV KUBECTL_SUM d7d363dd5a4c95444329bc5239b8718ebe84a043052958b2f15ee2feef9a28c6 +ENV KUBECTL_SUM 1f7651ad0b50ef4561aa82e77f3ad06599b5e6b0b2a5fb6c4f474d95a77e41c5 ENV KUBECTL_FILENAME kubectl -ADD https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl . +ADD https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl . +#ADD https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl . RUN echo "Computed sha256sum: $(sha256sum ${KUBECTL_FILENAME})" \ && echo "${KUBECTL_SUM} ${KUBECTL_FILENAME}" | sha256sum -c -