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