Merge "Replica Scaling of MultiCloud and UUI container"
[oom.git] / kubernetes / uui / templates / uui-deployment.yaml
index db7ac1a..6685749 100644 (file)
@@ -5,8 +5,9 @@ metadata:
   labels:
     app: uui
   name: uui
-  namespace: "{{ .Values.nsPrefix }}-uui"
+  namespace: "{{ .Values.nsPrefix }}"
 spec:
+  replicas: {{ .Values.uuiReplicas }}
   selector:
     matchLabels:
       app: uui
@@ -26,7 +27,7 @@ spec:
         name: uui
         env:
         - name: MSB_ADDR
-          value: {{ .Values.msbaddr }}
+          value: {{ tpl .Values.msbaddr . }}
         ports:
         - containerPort: 8080
         readinessProbe:
@@ -36,4 +37,4 @@ spec:
           periodSeconds: 10
       imagePullSecrets:
       - name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }}
\ No newline at end of file
+#{{ end }}