blob: 7b23b368082c4957c2331a309633e098fe9d85a7 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableUuiUui }}
Dusan Rozman03aa27e2017-10-11 13:04:23 -04002apiVersion: v1
3kind: Service
4metadata:
5 labels:
6 app: uui
7 name: uui
8 namespace: "{{ .Values.nsPrefix }}-uui"
HuabingZhao6666c372017-10-19 10:58:37 +08009 annotations:
10 msb.onap.org/service-info: '[
11 {
12 "serviceName": "usecaseui-gui",
13 "version": "v1",
14 "url": "/iui/usecaseui",
15 "protocol": "UI"
16 "port": "8080",
17 "visualRange":"1|0"
18 }
19 ]'
Dusan Rozman03aa27e2017-10-11 13:04:23 -040020spec:
21 ports:
22 - name: uui
23 nodePort: {{ .Values.uuiPortPrefix }}98
24 port: 8080
25 selector:
26 app: uui
27 type: NodePort
Alexis de Talhouƫtfc979992017-11-28 15:47:31 -050028#{{ end }}
29#{{ if not .Values.disableUuiServer }}
30---
31apiVersion: v1
32kind: Service
33metadata:
34 labels:
35 app: uui-server
36 name: uui-server
37 namespace: "{{ .Values.nsPrefix }}-uui"
38 annotations:
39 msb.onap.org/service-info: '[
40 {
41 "serviceName": "usecaseui-server",
42 "version": "v1",
43 "url": "/api/usecaseui/server/v1",
44 "protocol": "UI"
45 "port": "8080",
46 "visualRange":"1|0"
47 }
48 ]'
49spec:
50 ports:
51 - name: uui-server
52 nodePort: {{ .Values.uuiPortPrefix }}99
53 port: 8082
54 selector:
55 app: uui-server
56 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030057#{{ end }}