Skip to content
Snippets Groups Projects
Commit 0686adbd authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

chown 101

parent 38ecb784
No related branches found
No related tags found
1 merge request!237Fix update wiki
Pipeline #152643 waiting for manual action with stages
in 12 minutes and 42 seconds
...@@ -33,7 +33,7 @@ spec: ...@@ -33,7 +33,7 @@ spec:
- name: init-directory - name: init-directory
image: busybox image: busybox
command: ["/bin/sh", "-c"] command: ["/bin/sh", "-c"]
args: ["mkdir -p /struct/wiki"] args: ["mkdir -p /struct/wiki", "chown -R 101:101 /struct/wiki"]
volumeMounts: volumeMounts:
- name: structure-data-pvc - name: structure-data-pvc
mountPath: /struct mountPath: /struct
...@@ -49,11 +49,11 @@ spec: ...@@ -49,11 +49,11 @@ spec:
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /wiki/ path: /wiki
port: http port: http
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /wiki/ path: /wiki
port: http port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
...@@ -61,7 +61,7 @@ spec: ...@@ -61,7 +61,7 @@ spec:
- mountPath: /tmp - mountPath: /tmp
name: tmp name: tmp
- name: nginx-config - name: nginx-config
mountPath: /etc/nginx/conf.d/ mountPath: /etc/nginx/conf.d
- name: structure-data-pvc - name: structure-data-pvc
mountPath: /usr/share/nginx/html mountPath: /usr/share/nginx/html
subPath: wiki subPath: wiki
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment