aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcae/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/dcae/templates/all-services.yaml')
-rw-r--r--kubernetes/dcae/templates/all-services.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/dcae/templates/all-services.yaml b/kubernetes/dcae/templates/all-services.yaml
index 45d22dba21..b0170734dd 100644
--- a/kubernetes/dcae/templates/all-services.yaml
+++ b/kubernetes/dcae/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableDcaeZookeeper }}
apiVersion: v1
kind: Service
metadata:
@@ -12,6 +13,8 @@ spec:
selector:
app: zookeeper
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeKafka }}
---
apiVersion: v1
kind: Service
@@ -27,6 +30,8 @@ spec:
selector:
app: kafka
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeDmaap }}
---
apiVersion: v1
kind: Service
@@ -48,6 +53,8 @@ spec:
app: dmaap
#type: NodePort
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaePgaas }}
---
apiVersion: v1
kind: Service
@@ -65,6 +72,8 @@ spec:
targetPort: 5432
nodePort: {{ .Values.nodePortPrefix }}45
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaeCollectorCommonEvent }}
---
apiVersion: v1
kind: Service
@@ -91,6 +100,8 @@ spec:
selector:
app: dcae-collector-common-event
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableDcaeDcaeCollectorDmaapbc }}
---
apiVersion: v1
kind: Service
@@ -115,3 +126,4 @@ spec:
selector:
app: dcae-collector-dmaapbc
type: NodePort
+#{{ end }} \ No newline at end of file