blob: 7f450cd9ae058b882bcd2a9e58f6ffc643df6ed8 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
yurynfcef9942017-10-26 17:10:50 +030015#{{ if not .Values.disableUuiUui }}
Dusan Rozman03aa27e2017-10-11 13:04:23 -040016apiVersion: v1
17kind: Service
18metadata:
19 labels:
20 app: uui
21 name: uui
BorislavG8bfc6cf2018-02-27 15:04:26 +000022 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao6666c372017-10-19 10:58:37 +080023 annotations:
24 msb.onap.org/service-info: '[
25 {
26 "serviceName": "usecaseui-gui",
27 "version": "v1",
Alexis de Talhouëtac95d362018-03-05 07:47:40 -050028 "url": "/usecase-ui",
29 "path":"/iui/usecaseui",
HuabingZhao6666c372017-10-19 10:58:37 +080030 "protocol": "UI"
31 "port": "8080",
32 "visualRange":"1|0"
33 }
34 ]'
Dusan Rozman03aa27e2017-10-11 13:04:23 -040035spec:
36 ports:
37 - name: uui
38 nodePort: {{ .Values.uuiPortPrefix }}98
39 port: 8080
40 selector:
41 app: uui
42 type: NodePort
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050043#{{ end }}
44#{{ if not .Values.disableUuiServer }}
45---
46apiVersion: v1
47kind: Service
48metadata:
49 labels:
50 app: uui-server
51 name: uui-server
BorislavG8bfc6cf2018-02-27 15:04:26 +000052 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëtfc979992017-11-28 15:47:31 -050053 annotations:
54 msb.onap.org/service-info: '[
55 {
56 "serviceName": "usecaseui-server",
57 "version": "v1",
58 "url": "/api/usecaseui/server/v1",
59 "protocol": "UI"
60 "port": "8080",
61 "visualRange":"1|0"
62 }
63 ]'
64spec:
65 ports:
66 - name: uui-server
67 nodePort: {{ .Values.uuiPortPrefix }}99
68 port: 8082
69 selector:
70 app: uui-server
71 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030072#{{ end }}