From eb84cff14ceeb0ef3b369c4db2f5b90ff51468bd Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Thu, 20 Mar 2025 18:26:22 +0100
Subject: [PATCH] create fake index

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

diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml
index 9b65fc97..e38fd035 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", "chown -R 101:101 /struct/wiki"]
+          args: ["mkdir -p /struct/wiki", "touch /struct/wiki/index.html", "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: /
               port: http
           readinessProbe:
             httpGet:
-              path: /wiki
+              path: /
               port: http
           resources:
             {{- toYaml .Values.resources | nindent 12 }}
-- 
GitLab