From debd5d30b5bc27ee849b4d6bb6a63f5affee3be4 Mon Sep 17 00:00:00 2001 From: Conan Scott Date: Mon, 2 Feb 2026 15:22:09 +1100 Subject: [PATCH] added init container --- manifests/deployment.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 3c03383..bda224d 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -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