summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/all-services.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/all-services.yaml')
-rw-r--r--kubernetes/policy/templates/all-services.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/kubernetes/policy/templates/all-services.yaml b/kubernetes/policy/templates/all-services.yaml
index 04c984df54..a1c480458d 100644
--- a/kubernetes/policy/templates/all-services.yaml
+++ b/kubernetes/policy/templates/all-services.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disablePolicyMariadb }}
apiVersion: v1
kind: Service
metadata:
@@ -12,6 +13,8 @@ spec:
selector:
app: mariadb
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disablePolicyNexus }}
---
apiVersion: v1
kind: Service
@@ -27,6 +30,8 @@ spec:
selector:
app: nexus
clusterIP: None
+#{{ end }}
+#{{ if not .Values.disablePolicyDrools }}
---
apiVersion: v1
kind: Service
@@ -43,6 +48,8 @@ spec:
selector:
app: drools
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyPap }}
---
apiVersion: v1
kind: Service
@@ -62,6 +69,8 @@ spec:
selector:
app: pap
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyPdp }}
---
apiVersion: v1
kind: Service
@@ -98,6 +107,8 @@ spec:
selector:
app: pdp
type: NodePort
+#{{ end }}
+#{{ if not .Values.disablePolicyBrmsgw }}
---
apiVersion: v1
kind: Service
@@ -114,3 +125,4 @@ spec:
selector:
app: brmsgw
type: NodePort
+#{{ end }} \ No newline at end of file