[UUI] Make UUI SM compatible
[oom.git] / kubernetes / uui / values.yaml
index 9c9d944..67f135c 100644 (file)
@@ -91,9 +91,30 @@ readiness:
 service:
   type: NodePort
   name: uui
-  portName: http
-  internalPort: 8443
-  nodePort: 98
+  internalPort: 8080
+  ports:
+    - name: http
+      port: 8443
+      plain_port: 8080
+      nodePort: '98'
+  annotations:
+    msb.onap.org/service-info: |
+      {{ if .Values.global.msbEnabled -}}[
+        {
+          "serviceName": "usecaseui-ui",
+          "version": "v1",
+          "url": "/usecase-ui",
+          "path":"/iui/usecaseui",
+          "protocol": "UI",
+          "visualRange":"1",
+          {{ if (include "common.needTLS" .) }}
+          "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
+          "enable_ssl": true
+          {{ else }}
+          "port": "{{ include "common.getPort" (dict "global" . "name" "http" "getPlain" true) }}"
+          {{ end }}
+        }
+      ]{{ end }}
 
 ingress:
   enabled: false
@@ -101,6 +122,7 @@ ingress:
     - baseaddr: "uui-ui"
       name: "uui"
       port: 8443
+      plain_port: 8080
   config:
     ssl: "redirect"