[ci skip] openclaw: fix workspace permissions — chown to node user
Init container clones repo as root but main container runs as node (UID 1000). Added chown -R 1000:1000 /workspace/infra so OpenClaw can write to workspace.
This commit is contained in:
parent
f2678d3494
commit
80dfc58fea
1 changed files with 1 additions and 0 deletions
|
|
@ -319,6 +319,7 @@ resource "kubernetes_deployment" "openclaw" {
|
|||
# Mark repo as safe for the node user (different UID from init container)
|
||||
git config --global --add safe.directory /workspace/infra
|
||||
cp /root/.gitconfig /openclaw-home/.gitconfig 2>/dev/null || true
|
||||
chown -R 1000:1000 /workspace/infra
|
||||
|
||||
# Symlink Claude skills into OpenClaw skills directory
|
||||
ln -sfn /workspace/infra/.claude/skills /openclaw-home/skills
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue