Skip to content

Commit 500d6ca

Browse files
authored
Merge pull request #46 from scality/improvement/S3CSI-68-move-from-AWS-to-standard-images
S3CSI-68: Move from AWS hosted to standard open source images and update/pin them
2 parents 3725e30 + 6bca0de commit 500d6ca

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG MOUNTPOINT_VERSION=1.15.0
1818
# Building on Amazon Linux 2 because it has an old libc version. libfuse from the os
1919
# is being packaged up in the container and a newer version linking to a too new glibc
2020
# can cause portability issues
21-
FROM --platform=$TARGETPLATFORM public.ecr.aws/amazonlinux/amazonlinux:2 as mp_builder
21+
FROM public.ecr.aws/amazonlinux/amazonlinux:2 AS mp_builder
2222
ARG MOUNTPOINT_VERSION
2323
ARG TARGETARCH
2424
ARG TARGETPLATFORM
@@ -43,7 +43,7 @@ RUN MP_ARCH=`echo ${TARGETARCH} | sed s/amd64/x86_64/` && \
4343
patchelf --set-rpath '$ORIGIN' /mountpoint-s3/bin/mount-s3
4444

4545
# Build driver. Use BUILDPLATFORM not TARGETPLATFORM for cross compilation
46-
FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/golang:1.24-bullseye as builder
46+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.24-bullseye AS builder
4747
ARG TARGETARCH
4848

4949
WORKDIR /go/src/github.com/scality/mountpoint-s3-csi-driver
@@ -53,7 +53,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/g
5353

5454
# `eks-distro-minimal-base-csi` includes `libfuse` and mount utils such as `umount`.
5555
# We need to make sure to use same Amazon Linux version here and while producing Mountpoint to not have glibc compatibility issues.
56-
FROM --platform=$TARGETPLATFORM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-csi:latest AS linux-amazon
56+
FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-csi:2025-04-17-1744916492.2 AS linux-amazon
5757
ARG MOUNTPOINT_VERSION
5858
ENV MOUNTPOINT_VERSION=${MOUNTPOINT_VERSION}
5959
ENV MOUNTPOINT_BIN_DIR=/mountpoint-s3/bin

Dockerfile.local

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARG MOUNTPOINT_BUILD_ARGS="" # custom build arguments
1212
#
1313
# Build Mountpoint
1414
#
15-
FROM --platform=$TARGETPLATFORM amazonlinux:2023 as mp_builder
15+
FROM amazonlinux:2023 AS mp_builder
1616
ARG MOUNTPOINT_REPOSITORY
1717
ARG MOUNTPOINT_BRANCH
1818
ARG MOUNTPOINT_BUILD_ARGS
@@ -46,7 +46,7 @@ RUN cd mountpoint-s3 && \
4646
#
4747

4848
# Use BUILDPLATFORM not TARGETPLATFORM for cross compilation
49-
FROM --platform=$BUILDPLATFORM public.ecr.aws/docker/library/golang:1.24-bullseye as builder
49+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.24-bullseye AS builder
5050
ARG TARGETARCH
5151

5252
WORKDIR /go/src/github.com/scality/mountpoint-s3-csi-driver
@@ -60,7 +60,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/g
6060

6161
# `eks-distro-minimal-base-csi` includes `libfuse` and mount utils such as `umount`.
6262
# We need to make sure to use same Amazon Linux version here and while building Mountpoint to not have glibc compatibility issues.
63-
FROM --platform=$TARGETPLATFORM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-csi:latest-al23 AS linux-amazon
63+
FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-csi:latest-al23 AS linux-amazon
6464
ARG MOUNTPOINT_VERSION
6565
ENV MOUNTPOINT_VERSION=${MOUNTPOINT_VERSION}
6666
ENV MOUNTPOINT_BIN_DIR=/mountpoint-s3/bin

charts/scality-mountpoint-s3-csi-driver/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ node:
4141
sidecars:
4242
nodeDriverRegistrar:
4343
image:
44-
repository: public.ecr.aws/eks-distro/kubernetes-csi/node-driver-registrar
45-
tag: v2.10.0-eks-1-29-7
44+
repository: k8s.gcr.io/sig-storage/csi-node-driver-registrar
45+
tag: v2.13.0
4646
pullPolicy: IfNotPresent
4747
env:
4848
- name: KUBE_NODE_NAME
@@ -57,8 +57,8 @@ sidecars:
5757
resources: {}
5858
livenessProbe:
5959
image:
60-
repository: public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe
61-
tag: v2.12.0-eks-1-29-7
60+
repository: registry.k8s.io/sig-storage/livenessprobe
61+
tag: v2.15.0
6262
pullPolicy: IfNotPresent
6363
volumeMounts:
6464
- mountPath: /csi

0 commit comments

Comments
 (0)