2024-02-29 02:30:56 +08:00
|
|
|
{{- if eq .Values.FULLTEXTSEARCH_ENABLED "yes" }}
|
2022-12-22 20:29:31 +08:00
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-elasticsearch
|
|
|
|
name: nextcloud-aio-elasticsearch
|
2024-02-29 02:30:56 +08:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2022-12-22 20:29:31 +08:00
|
|
|
spec:
|
|
|
|
{{- if .Values.STORAGE_CLASS }}
|
|
|
|
storageClassName: {{ .Values.STORAGE_CLASS }}
|
|
|
|
{{- end }}
|
|
|
|
accessModes:
|
2023-01-28 23:23:46 +08:00
|
|
|
- ReadWriteOnce
|
2022-12-22 20:29:31 +08:00
|
|
|
resources:
|
|
|
|
requests:
|
2023-02-01 19:35:40 +08:00
|
|
|
storage: {{ .Values.ELASTICSEARCH_STORAGE_SIZE }}
|
2024-02-29 02:30:56 +08:00
|
|
|
{{- end }}
|