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

create a subPath for structure-data-pvc

parent 566c3886
No related branches found
No related tags found
1 merge request!237Fix update wiki
Pipeline #152612 waiting for manual action with stages
in 12 minutes and 54 seconds
......@@ -29,6 +29,14 @@ spec:
serviceAccountName: {{ include "df-wiki.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: init-directory
image: busybox
command: ["/bin/sh", "-c"]
args: ["mkdir -p /struct/wiki"]
volumeMounts:
- name: structure-data-pvc
mountPath: /struct
containers:
- name: {{ .Chart.Name }}
securityContext:
......@@ -56,6 +64,7 @@ spec:
mountPath: /etc/nginx/conf.d/
- name: structure-data-pvc
mountPath: /usr/share/nginx/html
subPath: wiki
- name: website-pvc
mountPath: /website
......
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