blob: d66a22fd2e0c60d3484cb341555df2e797b57389 [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",
Alexis de Talhouëtac95d362018-03-05 07:47:40 -050014 "url": "/usecase-ui",
15 "path":"/iui/usecaseui",
HuabingZhao6666c372017-10-19 10:58:37 +080016 "protocol": "UI"
17 "port": "8080",
18 "visualRange":"1|0"
19 }
20 ]'
Dusan Rozman03aa27e2017-10-11 13:04:23 -040021spec:
22 ports:
23 - name: uui
24 nodePort: {{ .Values.uuiPortPrefix }}98
25 port: 8080
26 selector:
27 app: uui
28 type: NodePort
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050029#{{ end }}
30#{{ if not .Values.disableUuiServer }}
31---
32apiVersion: v1
33kind: Service
34metadata:
35 labels:
36 app: uui-server
37 name: uui-server
BorislavG8bfc6cf2018-02-27 15:04:26 +000038 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050039 annotations:
40 msb.onap.org/service-info: '[
41 {
42 "serviceName": "usecaseui-server",
43 "version": "v1",
44 "url": "/api/usecaseui/server/v1",
45 "protocol": "UI"
46 "port": "8080",
47 "visualRange":"1|0"
48 }
49 ]'
50spec:
51 ports:
52 - name: uui-server
53 nodePort: {{ .Values.uuiPortPrefix }}99
54 port: 8082
55 selector:
56 app: uui-server
57 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030058#{{ end }}