openclaw: fix gateway scratch permissions

This commit is contained in:
jenkins 2026-05-19 20:37:50 -03:00
parent 07a2dfbb92
commit a32995b1a1

View File

@ -40,6 +40,32 @@ spec:
values:
- titan-20
initContainers:
- name: init-permissions
image: busybox:1.37
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- |
set -e
chown -R 1000:1000 /home/node/.openclaw /home/node/.local/bin /tmp
securityContext:
runAsUser: 0
runAsGroup: 0
volumeMounts:
- name: home
mountPath: /home/node/.openclaw
- name: tmp
mountPath: /tmp
- name: tools
mountPath: /home/node/.local/bin
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
cpu: 100m
memory: 64Mi
- name: init-config
image: busybox:1.37
imagePullPolicy: IfNotPresent