Add option to disable specific deployments
[oom.git] / kubernetes / log / templates / log-pv-pvc.yaml
index 989b118..4f24471 100644 (file)
@@ -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