fix(minio): set HOME=/tmp in policy-setup PostSync hook — mc could not create /.mc as non-root, hanging the job in an endless wait loop

This commit is contained in:
Story Crater Bot
2026-08-18 15:08:03 -07:00
parent 5a8e5ae3fe
commit 4c9610f86f
@@ -74,6 +74,11 @@ spec:
echo "ollama policy configured" echo "ollama policy configured"
env: 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 - name: ROOT_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef: