Skip to content

Commit

Permalink
k8s-tools: update kubectl download url and fix SHA-256
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Nov 27, 2024
1 parent 89a6899 commit 74e5037
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions k8s-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 -

Expand Down

0 comments on commit 74e5037

Please sign in to comment.