From 4da173eb0ef5a20128f22b932a860ab401f61440 Mon Sep 17 00:00:00 2001 From: Chris Miller <53184971+saschjmil@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:57:19 -0500 Subject: [PATCH] feat: (PSKD-813) add support for K8s 1.31 (#582) * feat: (PSKD-951) Update kubectl to version 1.30.6 Signed-off-by: chjmil * fix: update kubectl download location Signed-off-by: chjmil --------- Signed-off-by: chjmil --- Dockerfile | 4 ++-- docs/user/Dependencies.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c393355c..2be237f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,11 +9,11 @@ RUN apt-get update && apt-get upgrade -y \ && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 FROM baseline AS tool_builder -ARG kubectl_version=1.29.8 +ARG kubectl_version=1.30.6 WORKDIR /build -RUN curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$kubectl_version/bin/linux/amd64/kubectl && chmod 755 ./kubectl +RUN curl -sLO https://dl.k8s.io/release/v$kubectl_version/bin/linux/amd64/kubectl && chmod 755 ./kubectl # Installation FROM baseline diff --git a/docs/user/Dependencies.md b/docs/user/Dependencies.md index 950fd686..0dde394e 100644 --- a/docs/user/Dependencies.md +++ b/docs/user/Dependencies.md @@ -13,7 +13,7 @@ The following list details our dependencies and versions (~ indicates multiple p | ~ | docker | >=25.0.3 | | ~ | git | any | | ~ | rsync | any | -| ~ | kubectl | 1.28 - 1.30 | +| ~ | kubectl | 1.29 - 1.31 | | ~ | Helm | 3.16.2 | | pip3 | ansible | 10.5.0 | | pip3 | openshift | 0.13.2 | @@ -49,7 +49,7 @@ As described in the [Docker Installation](./DockerUsage.md) section add addition ```bash # Override kubectl version docker build \ - --build-arg kubectl_version=1.29.8 \ + --build-arg kubectl_version=1.30.6 \ -t viya4-deployment . ```