diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml index 9b65fc970ff4ebec37ae10fd0932dcb259547d44..e38fd035d2429c81c5ccd7f96edc6117f40147a2 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 }}