From 0686adbdec652fd30557ab1ede201ae6149d041c Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Thu, 20 Mar 2025 18:13:12 +0100
Subject: [PATCH] chown 101

---
 deploy/df-wiki/templates/deployment.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml
index f8d154fb..9b65fc97 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 101:101 /struct/wiki"]
           volumeMounts:
             - name: structure-data-pvc
               mountPath: /struct
@@ -49,11 +49,11 @@ spec:
               protocol: TCP
           livenessProbe:
             httpGet:
-              path: /wiki/
+              path: /wiki
               port: http
           readinessProbe:
             httpGet:
-              path: /wiki/
+              path: /wiki
               port: http
           resources:
             {{- toYaml .Values.resources | nindent 12 }}
@@ -61,7 +61,7 @@ spec:
           - mountPath: /tmp
             name: tmp
           - name: nginx-config
-            mountPath: /etc/nginx/conf.d/
+            mountPath: /etc/nginx/conf.d
           - name: structure-data-pvc
             mountPath: /usr/share/nginx/html
             subPath: wiki
-- 
GitLab