From 30bc291aa29a1001892336f02eca6b295af446e5 Mon Sep 17 00:00:00 2001 From: stakater-nordmart-bot Date: Mon, 20 Nov 2023 13:01:07 +0300 Subject: [PATCH] update helm version & add dependencies --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f8a6e1c..b191385 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,9 @@ ARG UBUNTU_VERSION="22.04" ARG DOCKER_VERSION="24.0.7" ARG KUBECTL_VERSION="1.28.2" ARG OC_CLI_VERSION="4.14.1" -ARG HELM_VERSION="3.13.2" +# Using Helm 3.10.1 as the latest Helm version has a null value override issue. +# For additional details, refer to: https://github.com/helm/helm/issues/5184 +ARG HELM_VERSION="3.10.1" ARG TERRAFORM_VERSION="1.6.4" ARG ANSIBLE_CORE_VERSION="2.13.11" ARG ANSIBLE_VERSION="6.7.0" @@ -200,6 +202,7 @@ RUN pip3 install \ cryptography \ hvac \ jmespath \ + kubernetes \ netaddr \ passlib \ pbr \ @@ -217,6 +220,9 @@ RUN if [[ ! -z ${ANSIBLE_VERSION} && ! -z ${JINJA_VERSION} ]] ; then \ jinja2==${JINJA_VERSION}; \ fi +#install ansible collection +RUN ansible-galaxy collection install kubernetes.core + ENV TERM xterm ENV ZSH_THEME agnoster RUN wget -q https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh