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
volumes:
- name: localstore-volume
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ default (include "mediawiki.fullname" .) .Values.persistence.existingClaim }}
{{- else }}
emptyDir: {}
{{- end }}
- name: data-volume
emptyDir: {}
{{- with .Values.nodeSelector }}