summaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router/templates/message-router-pv-pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/message-router/templates/message-router-pv-pvc.yaml')
-rw-r--r--kubernetes/message-router/templates/message-router-pv-pvc.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/message-router/templates/message-router-pv-pvc.yaml b/kubernetes/message-router/templates/message-router-pv-pvc.yaml
index e31e78c1fd..53329ca29b 100644
--- a/kubernetes/message-router/templates/message-router-pv-pvc.yaml
+++ b/kubernetes/message-router/templates/message-router-pv-pvc.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableMessageRouterGlobalKafka }}
apiVersion: v1
kind: PersistentVolume
metadata:
@@ -28,6 +29,8 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-message-router-kafka"
+#{{ end }}
+#{{ if not .Values.disableMessageRouterZookeeper }}
---
apiVersion: v1
kind: PersistentVolume
@@ -59,3 +62,4 @@ spec:
selector:
matchLabels:
name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
+#{{ end }} \ No newline at end of file