summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/templates/all-services.yaml')
-rw-r--r--kubernetes/sdc/templates/all-services.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/sdc/templates/all-services.yaml b/kubernetes/sdc/templates/all-services.yaml
index 2cd895b45a..4100dc24a4 100644
--- a/kubernetes/sdc/templates/all-services.yaml
+++ b/kubernetes/sdc/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableSdcSdcEs }}
apiVersion: v1
kind: Service
metadata:
@@ -14,6 +15,8 @@ spec:
selector:
app: sdc-es
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcCs }}
---
apiVersion: v1
kind: Service
@@ -31,6 +34,8 @@ spec:
selector:
app: sdc-cs
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcKb }}
---
apiVersion: v1
kind: Service
@@ -46,6 +51,8 @@ spec:
selector:
app: sdc-kb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disableSdcSdcBe }}
---
apiVersion: v1
kind: Service
@@ -85,6 +92,8 @@ spec:
selector:
app: sdc-be
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableSdcSdcFe }}
---
apiVersion: v1
kind: Service
@@ -115,3 +124,4 @@ spec:
selector:
app: sdc-fe
type: NodePort
+#{{ end }} \ No newline at end of file