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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user