aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/templates/all-services.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2017-11-28 15:47:31 -0500
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2017-11-28 20:48:39 +0000
commitfc9799960da7e425aec9f6ac9ffba5ef78eb84e1 (patch)
tree46a9e7055f75dc65e833ac4512c9d87f20a2b5c0 /kubernetes/uui/templates/all-services.yaml
parentc00c687517d3d764378f54775f0b6a664c1ca221 (diff)
Adjust UUI to latest
Fixes: add uui-server fix uui health check add MSB registration endpoint to uui Change-Id: I0f1b10a67e980fd134f28c559ab1396b2e9febb3 Issue-ID: OOM-474 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/uui/templates/all-services.yaml')
-rw-r--r--kubernetes/uui/templates/all-services.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/kubernetes/uui/templates/all-services.yaml b/kubernetes/uui/templates/all-services.yaml
index 9135622116..7b23b36808 100644
--- a/kubernetes/uui/templates/all-services.yaml
+++ b/kubernetes/uui/templates/all-services.yaml
@@ -25,4 +25,33 @@ spec:
selector:
app: uui
type: NodePort
+#{{ end }}
+#{{ if not .Values.disableUuiServer }}
+---
+apiVersion: v1
+kind: Service
+metadata:
+ labels:
+ app: uui-server
+ name: uui-server
+ namespace: "{{ .Values.nsPrefix }}-uui"
+ annotations:
+ msb.onap.org/service-info: '[
+ {
+ "serviceName": "usecaseui-server",
+ "version": "v1",
+ "url": "/api/usecaseui/server/v1",
+ "protocol": "UI"
+ "port": "8080",
+ "visualRange":"1|0"
+ }
+ ]'
+spec:
+ ports:
+ - name: uui-server
+ nodePort: {{ .Values.uuiPortPrefix }}99
+ port: 8082
+ selector:
+ app: uui-server
+ type: NodePort
#{{ end }} \ No newline at end of file