openclaw: fix gateway scratch permissions
This commit is contained in:
parent
07a2dfbb92
commit
a32995b1a1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user