From 4c9610f86f766ae839a5b597db642fe890eb1e7a Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Tue, 21 Jul 2026 21:03:44 -0700 Subject: [PATCH] =?UTF-8?q?fix(minio):=20set=20HOME=3D/tmp=20in=20policy-s?= =?UTF-8?q?etup=20PostSync=20hook=20=E2=80=94=20mc=20could=20not=20create?= =?UTF-8?q?=20/.mc=20as=20non-root,=20hanging=20the=20job=20in=20an=20endl?= =?UTF-8?q?ess=20wait=20loop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/infrastructure/minio/minio-policy-job.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k8s/infrastructure/minio/minio-policy-job.yaml b/k8s/infrastructure/minio/minio-policy-job.yaml index c438ffb..5ff2d21 100644 --- a/k8s/infrastructure/minio/minio-policy-job.yaml +++ b/k8s/infrastructure/minio/minio-policy-job.yaml @@ -74,6 +74,11 @@ spec: echo "ollama policy configured" env: + # mc writes its config to $HOME/.mc; runAsUser 1000 has HOME=/ which + # isn't writable, so `mc alias set` failed on `mkdir /.mc` and the + # wait-loop spun forever. Point HOME at the always-writable /tmp. + - name: HOME + value: /tmp - name: ROOT_USER valueFrom: secretKeyRef: