From 5142beec71f7a61804840df5b434c2fd7137ce82 Mon Sep 17 00:00:00 2001 From: Rafael <32229014+rafaelbreno@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:13:25 -0300 Subject: [PATCH] Bump hardened k8s and build base (#7424) --- Dockerfile | 4 ++-- scripts/version.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8fb554fa88..4b5733dc12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG KUBERNETES_VERSION=dev # Build environment -FROM rancher/hardened-build-base:v1.22.8b1 AS build +FROM rancher/hardened-build-base:v1.22.9b1 AS build ARG DAPPER_HOST_ARCH ENV ARCH $DAPPER_HOST_ARCH RUN set -x && \ @@ -117,7 +117,7 @@ RUN rm -vf /charts/*.sh /charts/*.md /charts/chart_versions.yaml # This image includes any host level programs that we might need. All binaries # must be placed in bin/ of the file image and subdirectories of bin/ will be flattened during installation. # This means bin/foo/bar will become bin/bar when rke2 installs this to the host -FROM rancher/hardened-kubernetes:v1.31.3-rke2r1-build20241121 AS kubernetes +FROM rancher/hardened-kubernetes:v1.31.4-rke2r1-build20241212 AS kubernetes FROM rancher/hardened-containerd:v1.7.23-k3s2-build20241203 AS containerd FROM rancher/hardened-crictl:v1.31.1-build20241011 AS crictl FROM rancher/hardened-runc:v1.1.14-build20240910 AS runc diff --git a/scripts/version.sh b/scripts/version.sh index cc5d50c13f..804301edb7 100755 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -32,8 +32,8 @@ REVISION=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; PLATFORM=${GOOS}-${GOARCH} RELEASE=${PROG}.${PLATFORM} # hardcode versions unless set specifically -KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.31.3} -KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.31.3-rke2r1-build20241121} +KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.31.4} +KUBERNETES_IMAGE_TAG=${KUBERNETES_IMAGE_TAG:-v1.31.4-rke2r1-build20241212} ETCD_VERSION=${ETCD_VERSION:-v3.5.16-k3s1} PAUSE_VERSION=${PAUSE_VERSION:-3.6} CCM_VERSION=${CCM_VERSION:-v1.31.2-0.20241016053446-0955fa330f90-build20241016}