Mount volume in job too
This commit is contained in:
parent
cf233cacad
commit
f8e5b96886
1 changed files with 5 additions and 0 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue