added init container

This commit is contained in:
2026-02-02 15:22:09 +11:00
parent 075ef91fa0
commit debd5d30b5

View File

@@ -18,6 +18,16 @@ spec:
app: clawdbox
spec:
serviceAccountName: clawd-sa
initContainers:
- name: volume-permissions
image: docker.io/alpine:latest
command:
- sh
- -c
- "chown -R 1000:0 /data && chmod -R 775 /data"
volumeMounts:
- name: home
mountPath: /data
containers:
- name: clawdbox
image: default-route-openshift-image-registry.apps.lab.apilab.us/clawdbox/clawdbox:latest