Merge "Update annotations to spec for dcae"
[oom.git] / kubernetes / uui / templates / uui-deployment.yaml
index e23202a..db7ac1a 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableUuiUui }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -23,6 +24,9 @@ spec:
           - -c
           - /home/uui/tomcat/bin/catalina.sh run
         name: uui
+        env:
+        - name: MSB_ADDR
+          value: {{ .Values.msbaddr }}
         ports:
         - containerPort: 8080
         readinessProbe:
@@ -32,3 +36,4 @@ spec:
           periodSeconds: 10
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file