blob: c58cd7486e05ccecd74ba149176951f33891e90b [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.disableMulticloudFramework }}
liangkec5861802017-09-12 15:41:20 +080016apiVersion: v1
17kind: Service
18metadata:
19 name: framework
BorislavG8bfc6cf2018-02-27 15:04:26 +000020 namespace: "{{ .Values.nsPrefix }}"
liangkec5861802017-09-12 15:41:20 +080021 labels:
22 name: framework
23 annotations:
24 msb.onap.org/service-info: '[
25 {
26 "serviceName": "multicloud",
27 "version": "v0",
28 "url": "/api/multicloud/v0",
29 "protocol": "REST",
30 "port": "9001",
31 "visualRange": "1"
32 }
33 ]'
34spec:
35 ports:
36 - name: "framework-port"
37 port: 9001
38 nodePort: {{ .Values.nodePortPrefix }}91
39 selector:
40 app: framework
41 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030042#{{ end }}
43#{{ if not .Values.disableMulticloudMulticloudVio }}
liangkec5861802017-09-12 15:41:20 +080044---
45apiVersion: v1
46kind: Service
47metadata:
48 name: multicloud-vio
BorislavG8bfc6cf2018-02-27 15:04:26 +000049 namespace: "{{ .Values.nsPrefix }}"
liangkec5861802017-09-12 15:41:20 +080050 labels:
51 name: multicloud-vio
52 annotations:
53 msb.onap.org/service-info: '[
54 {
55 "serviceName": "multicloud-vio",
56 "version": "v0",
57 "url": "/api/multicloud-vio/v0",
58 "protocol": "REST",
59 "port": "9004",
60 "visualRange": "1"
61 }
62 ]'
63
64spec:
65 ports:
66 - name: "multicloud-port"
67 port: 9004
Bin Yang0b2158e2017-09-26 07:21:57 +080068 nodePort: {{ .Values.nodePortPrefix }}92
liangkec5861802017-09-12 15:41:20 +080069 selector:
70 app: multicloud-vio
71 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030072#{{ end }}
73#{{ if not .Values.disableMulticloudMulticloudOcata }}
Bin Yang0b2158e2017-09-26 07:21:57 +080074---
75apiVersion: v1
76kind: Service
77metadata:
78 name: multicloud-ocata
BorislavG8bfc6cf2018-02-27 15:04:26 +000079 namespace: "{{ .Values.nsPrefix }}"
Bin Yang0b2158e2017-09-26 07:21:57 +080080 labels:
81 name: multicloud-ocata
82 annotations:
83 msb.onap.org/service-info: '[
84 {
85 "serviceName": "multicloud-ocata",
86 "version": "v0",
87 "url": "/api/multicloud-ocata/v0",
88 "protocol": "REST",
89 "port": "9006",
90 "visualRange": "1"
91 }
92 ]'
93
94spec:
95 ports:
96 - name: "multicloud-port"
97 port: 9006
98 nodePort: {{ .Values.nodePortPrefix }}93
99 selector:
100 app: multicloud-ocata
101 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300102#{{ end }}
103#{{ if not .Values.disableMulticloudMulticloudWindriver }}
Bin Yang0b2158e2017-09-26 07:21:57 +0800104---
105apiVersion: v1
106kind: Service
107metadata:
108 name: multicloud-windriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000109 namespace: "{{ .Values.nsPrefix }}"
Bin Yang0b2158e2017-09-26 07:21:57 +0800110 labels:
111 name: multicloud-windriver
112 annotations:
113 msb.onap.org/service-info: '[
114 {
115 "serviceName": "multicloud-titanium_cloud",
116 "version": "v0",
117 "url": "/api/multicloud-titanium_cloud/v0",
118 "protocol": "REST",
119 "port": "9005",
120 "visualRange": "1"
121 }
122 ]'
123
124spec:
125 ports:
126 - name: "multicloud-port"
127 port: 9005
128 nodePort: {{ .Values.nodePortPrefix }}94
129 selector:
130 app: multicloud-windriver
131 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300132#{{ end }}