From 8830916a8c9de211233871e220c49a1a4fb02f08 Mon Sep 17 00:00:00 2001 From: Chris Miller <53184971+saschjmil@users.noreply.github.com> Date: Thu, 31 Oct 2024 11:46:34 -0400 Subject: [PATCH] feat: (PSKD-350) Dependency version update (#578) * feat: (PSKD-350) Update tool versions * feat: helm chart version bumps * docs: Update chart versions * fix: Back out helm chart bumps * chore: linting * feat: bump kubectl version * chore: capitalize as in Dockerfile * DCO Remediation Commit for chjmil I, chjmil , hereby add my Signed-off-by to this commit: 4af64647272a03fd67afdc2c95ad691080d373e2 I, chjmil , hereby add my Signed-off-by to this commit: 449fe5db840fe46228f1a73aa1000d193166b3c3 I, chjmil , hereby add my Signed-off-by to this commit: ad95f015a114125a32b6dd4ac4b4365efe72af37 I, chjmil , hereby add my Signed-off-by to this commit: a0b1ece3bc24ef83a126846f8a3f9dacdacc52f3 I, chjmil , hereby add my Signed-off-by to this commit: 1f361d8e2e538c1a0ecfee9094301a0ba7a256b8 I, chjmil , hereby add my Signed-off-by to this commit: ed5063304a3144af7d46bf253c2c7ed03760160e I, chjmil , hereby add my Signed-off-by to this commit: a2dc58cd349d003c13e1b3bf398772c95b87d33b Signed-off-by: chjmil --------- Signed-off-by: chjmil --- Dockerfile | 12 +++++------ docs/user/Dependencies.md | 44 +++++++++++++++++++-------------------- requirements.txt | 12 +++++------ requirements.yaml | 6 +++--- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/Dockerfile b/Dockerfile index df479209..c393355c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:experimental -FROM ubuntu:22.04 as baseline +FROM ubuntu:22.04 AS baseline RUN apt-get update && apt-get upgrade -y \ && apt-get install --no-install-recommends -y python3 python3-dev python3-pip curl unzip apt-transport-https ca-certificates gnupg \ @@ -8,8 +8,8 @@ RUN apt-get update && apt-get upgrade -y \ && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 \ && update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 -FROM baseline as tool_builder -ARG kubectl_version=1.29.7 +FROM baseline AS tool_builder +ARG kubectl_version=1.29.8 WORKDIR /build @@ -17,9 +17,9 @@ RUN curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$kubect # Installation FROM baseline -ARG helm_version=3.15.2 -ARG aws_cli_version=2.16.5 -ARG gcp_cli_version=479.0.0-0 +ARG helm_version=3.16.2 +ARG aws_cli_version=2.17.58 +ARG gcp_cli_version=496.0.0-0 # Add extra packages RUN apt-get update && apt-get install --no-install-recommends -y gzip wget git jq ssh sshpass skopeo rsync \ diff --git a/docs/user/Dependencies.md b/docs/user/Dependencies.md index 0ca950b8..950fd686 100644 --- a/docs/user/Dependencies.md +++ b/docs/user/Dependencies.md @@ -4,31 +4,31 @@ If your environment requires validated support for a specific version or range o The following list details our dependencies and versions (~ indicates multiple possible sources): -| SOURCE | NAME | VERSION | -|----------------|------------------|-------------| -| ~ | python | >=3.10 | -| ~ | pip | 3.x | -| ~ | unzip | any | -| ~ | tar | any | -| ~ | docker | >=25.0.3 | -| ~ | git | any | -| ~ | rsync | any | -| ~ | kubectl | 1.28 - 1.30 | -| ~ | Helm | 3.14.2 | -| pip3 | ansible | 9.2.0 | -| pip3 | openshift | 0.13.2 | -| pip3 | kubernetes | 27.2.0 | -| pip3 | dnspython | 2.6.1 | -| pip3 | docker | 7.1.0 | -| pip3 | urllib3 | 1.26.18 | -| ansible-galaxy | community.docker | 3.10.3 | -| ansible-galaxy | ansible.utils | 3.1.0 | -| ansible-galaxy | kubernetes.core | 3.0.0 | +| SOURCE | NAME | VERSION | +|----------------|------------------|--------------| +| ~ | python | >=3.10 | +| ~ | pip | 3.x | +| ~ | unzip | any | +| ~ | tar | any | +| ~ | docker | >=25.0.3 | +| ~ | git | any | +| ~ | rsync | any | +| ~ | kubectl | 1.28 - 1.30 | +| ~ | Helm | 3.16.2 | +| pip3 | ansible | 10.5.0 | +| pip3 | openshift | 0.13.2 | +| pip3 | kubernetes | 29.0.0 | +| pip3 | dnspython | 2.7.0 | +| pip3 | docker | 7.1.0 | +| pip3 | urllib3 | 2.2.3 | +| ansible-galaxy | community.docker | 3.13.0 | +| ansible-galaxy | ansible.utils | 5.1.2 | +| ansible-galaxy | kubernetes.core | 5.0.0 | If you are using a provider based kubeconfig file created by viya4-iac-gcp:4.5.0 or newer, install these dependencies: | SOURCE | NAME | VERSION | |----------------|-------------------------|-------------| -| ~ | gcloud | 472.0.0 | +| ~ | gcloud | 496.0.0 | | ~ | gcloud-gke-auth-plugin | >= 0.5.2 | Required project dependencies are generally pinned to known working or stable versions to ensure users have a smooth initial experience. In some cases it may be required to change the default version of a dependency. In such cases users are welcome to experiment with alternate versions, however compatibility may not be guaranteed. @@ -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.7 \ + --build-arg kubectl_version=1.29.8 \ -t viya4-deployment . ``` diff --git a/requirements.txt b/requirements.txt index c84a323f..0a681ba9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -ansible==9.6.0 # 9.2.0 # 9.1.0 # 8.6.0 # 2.10.7 +ansible==10.5.0 # 9.6.0 # 9.2.0 # 9.1.0 # 8.6.0 # 2.10.7 openshift==0.13.2 # 0.13.1 # 0.12.0 -kubernetes==27.2.0 # 26.1.0 # 12.0.1 -dnspython==2.6.1 # 2.3.0 # 2.1.0 +kubernetes==29.0.0 # 27.2.0 # 26.1.0 # 12.0.1 +dnspython==2.7.0 # 2.6.1 # 2.3.0 # 2.1.0 docker==7.1.0 # 7.0.0 # 5.0.3 -urllib3==1.26.18 -wheel>=0.38.1 -setuptools>=65.5.1 +urllib3==2.2.3 # 1.26.18 +wheel>=0.44.0 # 0.38.1 +setuptools>=75.1.0 # 65.5.1 diff --git a/requirements.yaml b/requirements.yaml index fa944b26..f2c893ea 100644 --- a/requirements.yaml +++ b/requirements.yaml @@ -1,8 +1,8 @@ --- collections: - name: ansible.utils - version: 4.1.0 # 3.1.0 # 2.3.0 + version: 5.1.2 # 4.1.0 # 3.1.0 # 2.3.0 - name: community.docker - version: 3.10.3 # 3.8.0 # 2.7.8 + version: 3.13.0 # 3.10.3 # 3.8.0 # 2.7.8 - name: kubernetes.core - version: 3.0.0 # 2.3.2 + version: 5.0.0 # 3.0.0 # 2.3.2