diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 3c03383..f5528a0 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -18,6 +18,16 @@ spec: app: clawdbox spec: 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: - name: clawdbox image: default-route-openshift-image-registry.apps.lab.apilab.us/clawdbox/clawdbox:latest