From 4e90be76105f65ed201f9d541ef1b9692a29a567 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 21 Mar 2025 13:10:38 +0100
Subject: [PATCH] chown

---
 deploy/df-wiki/templates/deployment.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml
index b400b90d..ad05cb2c 100644
--- a/deploy/df-wiki/templates/deployment.yaml
+++ b/deploy/df-wiki/templates/deployment.yaml
@@ -33,7 +33,7 @@ spec:
         - name: init-directory
           image: busybox
           command: ["/bin/sh", "-c"]
-          args: ["mkdir -p /struct/wiki"]
+          args: ["mkdir -p /struct/wiki", chown -R 1001:1001 /struct/wiki"]
           volumeMounts:
             - name: structure-data-pvc
               mountPath: /struct
-- 
GitLab