added init container

This commit is contained in:
2026-02-02 15:11:21 +11:00
parent ddd9877848
commit 0dc50a4d0d

View File

@@ -18,6 +18,16 @@ spec:
app: clawdbox app: clawdbox
spec: spec:
serviceAccountName: clawd-sa serviceAccountName: clawd-sa
initContainers:
- name: fix-data-perms
image: default-route-openshift-image-registry.apps.lab.apilab.us/openclaw/openclaw:latest
command:
- /bin/sh
- -c
- "chown :0 /data && chmod 775 /data"
volumeMounts:
- name: data-volume
mountPath: /data
containers: containers:
- name: clawdbox - name: clawdbox
image: default-route-openshift-image-registry.apps.lab.apilab.us/clawdbox/clawdbox:latest image: default-route-openshift-image-registry.apps.lab.apilab.us/clawdbox/clawdbox:latest