Mount volume in job too

This commit is contained in:
paul 2021-01-13 07:47:31 +01:00
parent cf233cacad
commit f8e5b96886

View file

@ -29,7 +29,12 @@ spec:
mountPath: /var/www/localstore mountPath: /var/www/localstore
volumes: volumes:
- name: localstore-volume - name: localstore-volume
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ default (include "mediawiki.fullname" .) .Values.persistence.existingClaim }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- name: data-volume - name: data-volume
emptyDir: {} emptyDir: {}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}