From 2552b84aee3873b1d1c0f11a2d2bc25464a0d284 Mon Sep 17 00:00:00 2001 From: chjmil Date: Fri, 15 Nov 2024 17:02:03 -0500 Subject: [PATCH 1/2] feat: (PSKD-951) Update kubectl to version 1.30.6 Signed-off-by: chjmil --- Dockerfile | 2 +- docs/user/Dependencies.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c393355c..0ed492ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ 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 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 . ``` From 3be2c8c43eaf2cc9d03f1e01515c04a9afcf9c47 Mon Sep 17 00:00:00 2001 From: chjmil Date: Tue, 19 Nov 2024 10:26:14 -0500 Subject: [PATCH 2/2] fix: update kubectl download location Signed-off-by: chjmil --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0ed492ed..2be237f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ 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