summaryrefslogtreecommitdiffstats
path: root/kubernetes/log/templates/log-pv-pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/log/templates/log-pv-pvc.yaml')
-rw-r--r--kubernetes/log/templates/log-pv-pvc.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/log/templates/log-pv-pvc.yaml b/kubernetes/log/templates/log-pv-pvc.yaml
index 989b118ca9..4f244718d0 100644
--- a/kubernetes/log/templates/log-pv-pvc.yaml
+++ b/kubernetes/log/templates/log-pv-pvc.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableLogElasticsearch }}
apiVersion: v1
kind: PersistentVolume
metadata:
@@ -28,3 +29,4 @@ spec:
selector:
matchLabels:
name: elasticsearch-db
+#{{ end }} \ No newline at end of file