aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdnc/templates/all-services.yaml')
-rw-r--r--kubernetes/sdnc/templates/all-services.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/all-services.yaml b/kubernetes/sdnc/templates/all-services.yaml
index 687a6bb934..37c88ed515 100644
--- a/kubernetes/sdnc/templates/all-services.yaml
+++ b/kubernetes/sdnc/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableSdncSdncDbhost }}
apiVersion: v1
kind: Service
metadata:
@@ -25,6 +26,7 @@ spec:
selector:
app: sdnc-dbhost
clusterIP: None
+#{{ end }}
---
apiVersion: v1
kind: Service
@@ -39,6 +41,7 @@ spec:
selector:
app: sdnc-dbhost
clusterIP: None
+#{{ if not .Values.disableSdncSdncDgbuilder }}
---
apiVersion: v1
kind: Service
@@ -56,6 +59,8 @@ spec:
type: NodePort
selector:
app: sdnc-dgbuilder
+#{{ end }}
+#{{ if not .Values.disableSdncSdnc }}
---
apiVersion: v1
kind: Service
@@ -88,6 +93,8 @@ spec:
type: NodePort
selector:
app: sdnc
+#{{ end }}
+#{{ if not .Values.disableSdncSdncPortal }}
---
apiVersion: v1
kind: Service
@@ -115,3 +122,4 @@ spec:
type: NodePort
selector:
app: sdnc-portal
+#{{ end }} \ No newline at end of file