2018-09-10 21:57:39 +02:00
|
|
|
{{- if .Values.molgenis.persistence.enabled -}}
|
2018-09-10 21:41:54 +02:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
apiVersion: v1
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.molgenis.persistence.name }}
|
2018-09-10 21:53:29 +02:00
|
|
|
annotations:
|
|
|
|
volume.beta.kubernetes.io/storage-class: "nfs-provisioner"
|
2018-09-10 21:49:12 +02:00
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteMany
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: {{ .Values.molgenis.persistence.size }}
|
2018-09-10 21:41:54 +02:00
|
|
|
{{- end }}
|