From aef5731befa2a2faafeaca3c7b0e4c8c8cdfb1f2 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 06:55:53 +0900 Subject: [PATCH] =?UTF-8?q?fix(e2e):=20MinIO=20=EC=9D=B4=EB=AF=B8=EC=A7=80?= =?UTF-8?q?=EB=A5=BC=20cgr.dev/chainguard/minio=20=EB=A1=9C=20=EA=B5=90?= =?UTF-8?q?=EC=B2=B4=20=E2=80=94=20=EA=B3=B5=EC=8B=9D=20=EC=9D=B4=EB=AF=B8?= =?UTF-8?q?=EC=A7=80=20=EB=B0=B0=ED=8F=AC=20=EC=A4=91=EB=8B=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MinIO 가 2025-10 커뮤니티 이미지 배포를 중단해 quay.io/minio/minio · docker.io/minio/minio 의 모든 태그가 익명 pull 을 거부한다(401). kind e2e 의 minio Deployment 가 Init:ImagePullBackOff 로 서지 못해 `make e2e-up` 이 rollout 대기에서 시간 초과됐다. - 서버: cgr.dev/chainguard/minio:latest. 같은 upstream MinIO 를 소스에서 매일 다시 빌드한 이미지라 CLI·MINIO_ROOT_* env·/minio/health/ready·디렉터리=버킷 동작이 같다. 익명 pull 가능, amd64·arm64, rate limit 없음. - 그 이미지는 uid 65532 로 돌고 셸·coreutils 가 없다 → init 컨테이너는 kind 에 이미 적재된 session-platform/data-plane:dev 로 mkdir, 파드 전체를 65532 로 실행해 서버가 버킷 디렉터리에 쓸 수 있게 한다. 검증: 클러스터 파드에서 같은 이미지(arm64)의 minio 바이너리를 uid 65532 로 띄워 health 200, e2e 자격 증명으로 버킷 list/put/get 성공(RELEASE.2026-09-22T19-25-18Z). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01R1VrPpZUiPjHiu3NHL7jrA --- deploy/minio.yaml | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/deploy/minio.yaml b/deploy/minio.yaml index d0de8bfb..ccb4b369 100644 --- a/deploy/minio.yaml +++ b/deploy/minio.yaml @@ -28,20 +28,37 @@ spec: labels: app: minio spec: + # The MinIO image below runs as uid/gid 65532 and has no shell or + # coreutils. Running the whole pod as that identity lets the init + # container (which does have mkdir) create a bucket directory the server + # can write into. + securityContext: + runAsUser: 65532 + runAsGroup: 65532 + fsGroup: 65532 # MinIO does not create buckets on demand, and a top-level directory in # the data dir IS a bucket — so create it before the server starts. This # avoids racing a separate bucket-creation Job against the first snapshot. initContainers: - name: create-bucket - image: quay.io/minio/minio:latest + # Any image with mkdir does; the data plane image is already loaded + # into kind by scripts/e2e/up.sh, so this pulls nothing. + image: session-platform/data-plane:dev command: ["mkdir", "-p", "/data/session-checkpoints"] volumeMounts: - name: data mountPath: /data containers: - name: minio - # quay.io rather than Docker Hub: no anonymous pull rate limit on CI. - image: quay.io/minio/minio:latest + # MinIO stopped publishing community images in October 2025: every + # tag under quay.io/minio/minio and docker.io/minio/minio now refuses + # anonymous pulls, which left this Deployment in ImagePullBackOff. + # Chainguard rebuilds the same upstream MinIO server from source + # (same CLI, MINIO_ROOT_* env, /minio/health/ready and + # directory-is-a-bucket layout), multi-arch and without an anonymous + # pull rate limit. Its free tier publishes only `latest`, which is what + # this used before as well. + image: cgr.dev/chainguard/minio:latest args: ["server", "/data"] env: - name: MINIO_ROOT_USER