Skip to content

Commit

Permalink
Update kubectl versions in image
Browse files Browse the repository at this point in the history
  • Loading branch information
cbodonnell authored Dec 16, 2023
1 parent ec37bb7 commit c36c79e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,17 @@ ENV KUBECTL_1_28_SHA256SUM=893c92053adea6edbbd4e959c871f5c21edce416988f968bec565
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__

Expand Down

0 comments on commit c36c79e

Please sign in to comment.