Skip to content
Snippets Groups Projects

Fix update wiki

Merged Remi PLANEL requested to merge fix-update-wiki into main
2 files
+ 19
11
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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:
@@ -39,23 +47,24 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /wiki/
port: http
readinessProbe:
httpGet:
path: /wiki/
port: http
# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
- 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
- name: website-pvc
mountPath: /website