added init container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user