openclaw: fix gateway scratch permissions
This commit is contained in:
parent
07a2dfbb92
commit
a32995b1a1
@ -40,6 +40,32 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- titan-20
|
- titan-20
|
||||||
initContainers:
|
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
|
- name: init-config
|
||||||
image: busybox:1.37
|
image: busybox:1.37
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user