From f9eb3af66c7a75f6bb7fcc55c22a1e80fefdc880 Mon Sep 17 00:00:00 2001 From: cbodonnell Date: Sun, 7 Jan 2024 04:02:02 +0000 Subject: [PATCH] Update kubectl versions in image --- deploy/Dockerfile | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/deploy/Dockerfile b/deploy/Dockerfile index fe5518d2bc..a042e725f0 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -80,32 +80,41 @@ RUN curl -fsSLO "${KUBECTL_1_25_URL}" \ && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.25" # Install Kubectl 1.26 -ENV KUBECTL_1_26_VERSION=v1.26.11 +ENV KUBECTL_1_26_VERSION=v1.26.12 ENV KUBECTL_1_26_URL=https://dl.k8s.io/release/${KUBECTL_1_26_VERSION}/bin/linux/amd64/kubectl -ENV KUBECTL_1_26_SHA256SUM=27c34a0870230d9dd723e1e01114634e396cd2a3d25ced263b769a4bd53e4edd +ENV KUBECTL_1_26_SHA256SUM=8e6af8d68e7b9d2a1eb43255c0da793276e549a34a2b9c3c87a9c26438e7fd71 RUN curl -fsSLO "${KUBECTL_1_26_URL}" \ && echo "${KUBECTL_1_26_SHA256SUM} kubectl" | sha256sum -c - \ && chmod +x kubectl \ && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.26" # Install Kubectl 1.27 -ENV KUBECTL_1_27_VERSION=v1.27.8 +ENV KUBECTL_1_27_VERSION=v1.27.9 ENV KUBECTL_1_27_URL=https://dl.k8s.io/release/${KUBECTL_1_27_VERSION}/bin/linux/amd64/kubectl -ENV KUBECTL_1_27_SHA256SUM=027b3161e99fa0a7fa529e8f17f73ee2c0807c81c721ca7cf307f6b41c17bc57 +ENV KUBECTL_1_27_SHA256SUM=d0caae91072297b2915dd65f6ef3055d27646dce821ec67d18da35ba9a8dc85b RUN curl -fsSLO "${KUBECTL_1_27_URL}" \ && echo "${KUBECTL_1_27_SHA256SUM} kubectl" | sha256sum -c - \ && chmod +x kubectl \ && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.27" # Install Kubectl 1.28 -ENV KUBECTL_1_28_VERSION=v1.28.4 +ENV KUBECTL_1_28_VERSION=v1.28.5 ENV KUBECTL_1_28_URL=https://dl.k8s.io/release/${KUBECTL_1_28_VERSION}/bin/linux/amd64/kubectl -ENV KUBECTL_1_28_SHA256SUM=893c92053adea6edbbd4e959c871f5c21edce416988f968bec565d115383f7b8 +ENV KUBECTL_1_28_SHA256SUM=2a44c0841b794d85b7819b505da2ff3acd5950bd1bcd956863714acc80653574 RUN curl -fsSLO "${KUBECTL_1_28_URL}" \ && echo "${KUBECTL_1_28_SHA256SUM} kubectl" | sha256sum -c - \ && chmod +x kubectl \ - && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.28" \ - && ln -s "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.28" "${KOTS_KUBECTL_BIN_DIR}/kubectl" + && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.28" + +# Install Kubectl 1.29 +ENV KUBECTL_1_29_VERSION=v1.29.0 +ENV KUBECTL_1_29_URL=https://dl.k8s.io/release/${KUBECTL_1_29_VERSION}/bin/linux/amd64/kubectl +ENV KUBECTL_1_29_SHA256SUM=0e03ab096163f61ab610b33f37f55709d3af8e16e4dcc1eb682882ef80f96fd5 +RUN curl -fsSLO "${KUBECTL_1_29_URL}" \ + && echo "${KUBECTL_1_29_SHA256SUM} kubectl" | sha256sum -c - \ + && chmod +x kubectl \ + && mv kubectl "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.29" \ + && ln -s "${KOTS_KUBECTL_BIN_DIR}/kubectl-v1.29" "${KOTS_KUBECTL_BIN_DIR}/kubectl" # __END_KUBECTL_VERSIONS__