Run all components in one namespace
[oom.git] / kubernetes / msb / templates / msb-consul-deployment.yaml
index de33961..850dd08 100644 (file)
@@ -1,7 +1,9 @@
+#{{ if not .Values.disableMsbMsbConsul }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
   name: msb-consul
+  namespace: "{{ .Values.nsPrefix }}"
 spec:
   replicas: 1
   selector:
@@ -26,4 +28,5 @@ spec:
             port: {{ .Values.consulPort }}
           initialDelaySeconds: 5
           periodSeconds: 10
-        imagePullPolicy: {{ .Values.pullPolicy }}
\ No newline at end of file
+        imagePullPolicy: {{ .Values.pullPolicy }}
+#{{ end }}
\ No newline at end of file