{{- if .Values.persistence.enabled }} apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ .Values.persistence.overleafData }} spec: accessModes: - ReadWriteMany storageClassName: {{ .Values.persistence.storageClassName }} resources: requests: storage: 5Gi --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ .Values.persistence.redisData }} spec: accessModes: - ReadWriteMany storageClassName: {{ .Values.persistence.storageClassName }} resources: requests: storage: 2Gi --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ .Values.persistence.mongoData }} spec: accessModes: - ReadWriteMany storageClassName: {{ .Values.persistence.storageClassName }} resources: requests: storage: 5Gi --- {{- end }}