blob: 173fc77ab4dce9d5a87b00b60aa3e9ee15d6ece4 [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
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 namespace: "{{ .Values.nsPrefix }}"
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
BorislavG8bfc6cf2018-02-27 15:04:26 +000037 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050038 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 }}