Skip to content

Commit 1b1f4b4

Browse files
authored
Merge pull request #216 from cloudogu/feature/fix-cve-2024-41110
Get rid of cve-2024-41110
2 parents 30237ab + 173a70a commit 1b1f4b4

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ RUN apk add curl grep
4646
# https://kubernetes.io/blog/2022/12/12/kubernetes-release-artifact-signing/
4747
ARG K8S_VERSION=1.29.1
4848
ARG KUBECTL_CHECKSUM=69ab3a931e826bf7ac14d38ba7ca637d66a6fcb1ca0e3333a2cafdf15482af9f
49-
# When updating, also update the checksum found at https://github.com/helm/helm/releases
50-
ARG HELM_VERSION=3.14.4
51-
ARG HELM_CHECKSUM=a5844ef2c38ef6ddf3b5a8f7d91e7e0e8ebc39a38bb3fc8013d629c1ef29c259
49+
# When updating, also upgrade helm image in ApplicationConfigurator
50+
ARG HELM_VERSION=3.15.4
5251
# bash curl unzip required for Jenkins downloader
5352
RUN apk add --no-cache \
5453
gnupg \
@@ -67,8 +66,6 @@ WORKDIR /tmp
6766
RUN curl --location --fail --retry 20 --retry-connrefused --retry-all-errors --output helm.tar.gz https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz
6867
RUN curl --location --fail --retry 20 --retry-connrefused --retry-all-errors --output helm.tar.gz.asc https://github.com/helm/helm/releases/download/v${HELM_VERSION}/helm-v${HELM_VERSION}-linux-amd64.tar.gz.asc
6968
RUN tar -xf helm.tar.gz
70-
# Without the two spaces the check fails!
71-
RUN echo "${HELM_CHECKSUM} helm.tar.gz" | sha256sum -c
7269
RUN set -o pipefail && curl --location --fail --retry 20 --retry-connrefused --retry-all-errors \
7370
https://raw.githubusercontent.com/helm/helm/main/KEYS | gpg --import --batch --no-default-keyring --keyring /tmp/keyring.gpg
7471
RUN gpgv --keyring /tmp/keyring.gpg helm.tar.gz.asc helm.tar.gz
@@ -77,6 +74,7 @@ ENV PATH=$PATH:/dist/usr/local/bin
7774

7875
# Kubectl
7976
RUN curl --location --fail --retry 20 --retry-connrefused --retry-all-errors --output kubectl https://dl.k8s.io/release/v${K8S_VERSION}/bin/linux/amd64/kubectl
77+
# Without the two spaces the check fails!
8078
RUN echo "${KUBECTL_CHECKSUM} kubectl" | sha256sum -c
8179
RUN chmod +x /tmp/kubectl
8280
RUN mv /tmp/kubectl /dist/usr/local/bin/kubectl

jenkins/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# For updating, delete pvc jenkins-docker-client
2-
dockerClientVersion: 24.0.6
2+
# When updating, we should not use too recent version, to not break support for LTS distros like debian
3+
# https://docs.docker.com/engine/install/debian/#os-requirements -> oldstable
4+
# For example:
5+
# $ curl -s https://download.docker.com/linux/debian/dists/bullseye/stable/binary-amd64/Packages | grep -EA5 'Package\: docker-ce$' | grep Version | sort | uniq | tail -n1
6+
# Version: 5:27.1.1-1~debian.11~bullseye
7+
dockerClientVersion: 27.1.2
38

49
controller:
510
image:

src/main/groovy/com/cloudogu/gitops/config/ApplicationConfigurator.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import static com.cloudogu.gitops.utils.MapUtils.*
1515
@Singleton
1616
class ApplicationConfigurator {
1717

18-
public static final String HELM_IMAGE = "ghcr.io/cloudogu/helm:3.10.3-1"
18+
// When updating please also update in Dockerfile
19+
public static final String HELM_IMAGE = "ghcr.io/cloudogu/helm:3.15.4-1"
1920
// When updating please also adapt in Dockerfile, vars.tf and init-cluster.sh
2021
public static final String K8S_VERSION = "1.29"
2122
public static final String DEFAULT_ADMIN_USER = 'admin'

0 commit comments

Comments
 (0)