summaryrefslogtreecommitdiffstats
path: root/kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml')
-rw-r--r--kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml4
1 files changed, 1 insertions, 3 deletions
diff --git a/kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml b/kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml
index abab145a8f..d2eddc227d 100644
--- a/kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml
+++ b/kubernetes/log/charts/log-elasticsearch/templates/pvc.yaml
@@ -29,11 +29,9 @@ metadata:
{{ toYaml .Values.persistence.annotations | indent 4 }}
{{- end }}
spec:
- selector:
- matchLabels:
- name: {{ include "common.fullname" . }}
accessModes:
- {{ .Values.persistence.accessMode }}
+ storageClassName: {{ include "common.storageClass" . }}
resources:
requests:
storage: {{ .Values.persistence.size }}