Add option to disable specific deployments
[oom.git] / kubernetes / mso / templates / all-services.yaml
index 96c7fd7..44e47c1 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableMsoMariadb }}
 apiVersion: v1
 kind: Service
 metadata:
@@ -12,6 +13,8 @@ spec:
   selector:
     app: mariadb
   type: NodePort
+#{{ end }}
+#{{ if not .Values.disableMsoMso }}
 ---
 apiVersion: v1
 kind: Service
@@ -60,3 +63,4 @@ spec:
       port: 8787
       nodePort: {{ .Values.nodePortPrefix }}50
   type: NodePort
+#{{ end }}
\ No newline at end of file