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
|
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 }}
|
||||||
|
|
Loading…
Reference in a new issue