apiVersion: v1 kind: PersistentVolumeClaim metadata: labels: io.kompose.service: nextcloud-aio-elasticsearch name: nextcloud-aio-elasticsearch namespace: {{ values.NAMESPACE }} spec: {{- if .Values.STORAGE_CLASS }} storageClassName: {{ .Values.STORAGE_CLASS }} {{- end }} accessModes: - ReadWriteOnce resources: requests: storage: {{ .Values.ELASTICSEARCH_STORAGE_SIZE }}