blob: 819ecffeb8e643e2218fa5f72289a405d830501d [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.disableVfcVfcNslcm }}
maopengzhang799cc592017-09-01 09:37:48 +080016apiVersion: v1
17kind: Service
18metadata:
19 labels:
20 app: vfc-nslcm
21 name: vfc-nslcm
BorislavG8bfc6cf2018-02-27 15:04:26 +000022 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +080023 annotations:
24 msb.onap.org/service-info: '[
25 {
26 "serviceName": "nslcm",
27 "version": "v1",
28 "url": "/api/nslcm/v1",
29 "protocol": "REST",
30 "port": "{{.Values.nslcm.port}}",
31 "visualRange":"1"
32 }
33 ]'
maopengzhang799cc592017-09-01 09:37:48 +080034spec:
35 ports:
36 - name: vfc-nslcm
37 port: {{.Values.nslcm.port}}
38 nodePort: {{.Values.nslcm.nodePort}}
39 selector:
40 app: vfc-nslcm
41 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030042#{{ end }}
43#{{ if not .Values.disableVfcVfcResmgr }}
maopengzhang799cc592017-09-01 09:37:48 +080044---
45apiVersion: v1
46kind: Service
47metadata:
48 labels:
49 app: vfc-resmgr
50 name: vfc-resmgr
BorislavG8bfc6cf2018-02-27 15:04:26 +000051 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +080052 annotations:
53 msb.onap.org/service-info: '[
54 {
55 "serviceName": "resmgr",
56 "version": "v1",
57 "url": "/api/resmgr/v1",
58 "protocol": "REST",
59 "port": "{{.Values.resmgr.port}}",
60 "visualRange":"1"
61 }
62 ]'
maopengzhang799cc592017-09-01 09:37:48 +080063spec:
64 ports:
65 - name: vfc-resmgr
66 port: {{.Values.resmgr.port}}
67 nodePort: {{.Values.resmgr.nodePort}}
68 selector:
69 app: vfc-resmgr
70 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030071#{{ end }}
72#{{ if not .Values.disableVfcVfcGvnfmdriver }}
maopengzhang799cc592017-09-01 09:37:48 +080073---
74apiVersion: v1
75kind: Service
76metadata:
77 labels:
78 app: vfc-gvnfmdriver
79 name: vfc-gvnfmdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +000080 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +080081 annotations:
82 msb.onap.org/service-info: '[
83 {
84 "serviceName": "gvnfmdriver",
85 "version": "v1",
86 "url": "/api/gvnfmdriver/v1",
87 "protocol": "REST",
88 "port": "{{.Values.gvnfmdriver.port}}",
89 "visualRange":"1"
90 }
91 ]'
maopengzhang799cc592017-09-01 09:37:48 +080092spec:
93 ports:
94 - name: vfc-gvnfmdriver
95 port: {{.Values.gvnfmdriver.port}}
96 nodePort: {{.Values.gvnfmdriver.nodePort}}
97 selector:
98 app: vfc-gvnfmdriver
99 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300100#{{ end }}
maopengzhangeea3dd62017-12-11 18:00:13 +0800101#{{ if not .Values.disableVfcVfcztevnfmdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800102---
103apiVersion: v1
104kind: Service
105metadata:
106 labels:
maopengzhangeea3dd62017-12-11 18:00:13 +0800107 app: vfc-ztevnfmdriver
108 name: vfc-ztevnfmdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000109 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800110 annotations:
111 msb.onap.org/service-info: '[
112 {
maopengzhangeea3dd62017-12-11 18:00:13 +0800113 "serviceName": "ztevnfmdriver",
HuabingZhao2f044d82017-09-28 00:42:55 +0800114 "version": "v1",
maopengzhangeea3dd62017-12-11 18:00:13 +0800115 "url": "/api/ztevnfmdriver/v1",
HuabingZhao2f044d82017-09-28 00:42:55 +0800116 "protocol": "REST",
maopengzhangeea3dd62017-12-11 18:00:13 +0800117 "port": "{{.Values.ztevnfmdriver.port}}",
HuabingZhao2f044d82017-09-28 00:42:55 +0800118 "visualRange":"1"
119 }
120 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800121spec:
122 ports:
maopengzhangeea3dd62017-12-11 18:00:13 +0800123 - name: vfc-ztevnfmdriver
124 port: {{.Values.ztevnfmdriver.port}}
125 nodePort: {{.Values.ztevnfmdriver.nodePort}}
maopengzhang799cc592017-09-01 09:37:48 +0800126 selector:
maopengzhangeea3dd62017-12-11 18:00:13 +0800127 app: vfc-ztevnfmdriver
maopengzhang799cc592017-09-01 09:37:48 +0800128 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300129#{{ end }}
maopengzhangeea3dd62017-12-11 18:00:13 +0800130#{{ if not .Values.disableVfcVfcNokiavnfmdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800131---
132apiVersion: v1
133kind: Service
134metadata:
135 labels:
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500136 app: vfc-nokiavnfmdriver
137 name: vfc-nokiavnfmdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000138 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500139 annotations:
140 msb.onap.org/service-info: '[
141 {
142 "serviceName": "nokiavnfmdriver",
143 "version": "v1",
144 "url": "/api/nokiavnfmdriver/v1",
145 "protocol": "REST",
146 "port": "{{.Values.nokiavnfmdriver.port}}",
147 "visualRange":"1"
148 }
149 ]'
150spec:
151 ports:
152 - name: vfc-nokiavnfmdriver
153 port: {{.Values.nokiavnfmdriver.port}}
154 nodePort: {{.Values.nokiavnfmdriver.nodePort}}
155 selector:
maopengzhangeea3dd62017-12-11 18:00:13 +0800156 app: vfc-nokiavnfmdriver
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500157 type: NodePort
158#{{ end }}
maopengzhangeea3dd62017-12-11 18:00:13 +0800159#{{ if not .Values.disableVfcVfcHwvnfmdriver }}
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500160---
161apiVersion: v1
162kind: Service
163metadata:
164 labels:
maopengzhang799cc592017-09-01 09:37:48 +0800165 app: vfc-hwvnfmdriver
166 name: vfc-hwvnfmdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000167 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800168 annotations:
169 msb.onap.org/service-info: '[
170 {
171 "serviceName": "huaweivnfmdriver",
172 "version": "v1",
173 "url": "/api/huaweivnfmdriver/v1",
174 "protocol": "REST",
175 "port": "{{.Values.hwvnfmdriver.port}}",
176 "visualRange":"1"
177 }
178 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800179spec:
180 ports:
maopengzhangeea3dd62017-12-11 18:00:13 +0800181 - name: vfc-hwvnfmdriver
maopengzhang799cc592017-09-01 09:37:48 +0800182 port: {{.Values.hwvnfmdriver.port}}
183 nodePort: {{.Values.hwvnfmdriver.nodePort}}
184 selector:
185 app: vfc-hwvnfmdriver
186 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300187#{{ end }}
188#{{ if not .Values.disableVfcVfcZtesdncdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800189---
190apiVersion: v1
191kind: Service
192metadata:
193 labels:
194 app: vfc-ztesdncdriver
195 name: vfc-ztesdncdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000196 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800197 annotations:
198 msb.onap.org/service-info: '[
199 {
200 "serviceName": "ztesdncdriver",
201 "version": "v1",
202 "url": "/api/ztesdncdriver/v1",
203 "protocol": "REST",
204 "port": "{{.Values.ztesdncdriver.port}}",
205 "visualRange":"1"
206 }
207 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800208spec:
209 ports:
210 - name: vfc-ztesdncdriver
211 port: {{.Values.ztesdncdriver.port}}
212 nodePort: {{.Values.ztesdncdriver.nodePort}}
213 selector:
214 app: vfc-ztesdncdriver
215 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300216#{{ end }}
217#{{ if not .Values.disableVfcVfcJujudriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800218---
219apiVersion: v1
220kind: Service
221metadata:
222 labels:
223 app: vfc-jujudriver
224 name: vfc-jujudriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000225 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800226 annotations:
227 msb.onap.org/service-info: '[
228 {
229 "serviceName": "jujuvnfmdriver",
230 "version": "v1",
231 "url": "/api/jujuvnfmdriver/v1",
232 "protocol": "REST",
233 "port": "{{.Values.jujudriver.port}}",
234 "visualRange":"1"
235 }
236 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800237spec:
238 ports:
239 - name: vfc-jujudriver
240 port: {{.Values.jujudriver.port}}
241 nodePort: {{.Values.jujudriver.nodePort}}
242 selector:
243 app: vfc-jujudriver
244 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300245#{{ end }}
246#{{ if not .Values.disableVfcVfcVnflcm }}
maopengzhang799cc592017-09-01 09:37:48 +0800247---
248apiVersion: v1
249kind: Service
250metadata:
251 labels:
252 app: vfc-vnflcm
253 name: vfc-vnflcm
BorislavG8bfc6cf2018-02-27 15:04:26 +0000254 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800255 annotations:
256 msb.onap.org/service-info: '[
257 {
258 "serviceName": "vnflcm",
259 "version": "v1",
260 "url": "/api/vnflcm/v1",
261 "protocol": "REST",
262 "port": "{{.Values.vnflcm.port}}",
263 "visualRange":"1"
264 }
265 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800266spec:
267 ports:
268 - name: vfc-vnflcm
269 port: {{.Values.vnflcm.port}}
270 nodePort: {{.Values.vnflcm.nodePort}}
271 selector:
272 app: vfc-vnflcm
273 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300274#{{ end }}
275#{{ if not .Values.disableVfcVfcVnfres }}
maopengzhang799cc592017-09-01 09:37:48 +0800276---
277apiVersion: v1
278kind: Service
279metadata:
280 labels:
281 app: vfc-vnfres
282 name: vfc-vnfres
BorislavG8bfc6cf2018-02-27 15:04:26 +0000283 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800284 annotations:
285 msb.onap.org/service-info: '[
286 {
287 "serviceName": "vnfres",
288 "version": "v1",
289 "url": "/api/vnfres/v1",
290 "protocol": "REST",
291 "port": "{{.Values.vnfres.port}}",
292 "visualRange":"1"
293 }
294 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800295spec:
296 ports:
297 - name: vfc-vnfres
298 port: {{.Values.vnfres.port}}
299 nodePort: {{.Values.vnfres.nodePort}}
300 selector:
301 app: vfc-vnfres
302 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300303#{{ end }}
304#{{ if not .Values.disableVfcVfcVnfmgr }}
maopengzhang799cc592017-09-01 09:37:48 +0800305---
306apiVersion: v1
307kind: Service
308metadata:
309 labels:
310 app: vfc-vnfmgr
311 name: vfc-vnfmgr
BorislavG8bfc6cf2018-02-27 15:04:26 +0000312 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800313 annotations:
314 msb.onap.org/service-info: '[
315 {
316 "serviceName": "vnfmgr",
317 "version": "v1",
318 "url": "/api/vnfmgr/v1",
319 "protocol": "REST",
320 "port": "{{.Values.vnfmgr.port}}",
321 "visualRange":"1"
322 }
323 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800324spec:
325 ports:
326 - name: vfc-vnfmgr
327 port: {{.Values.vnfmgr.port}}
328 nodePort: {{.Values.vnfmgr.nodePort}}
329 selector:
330 app: vfc-vnfmgr
331 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300332#{{ end }}
333#{{ if not .Values.disableVfcVfcEmsdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800334---
335apiVersion: v1
336kind: Service
337metadata:
338 labels:
339 app: vfc-emsdriver
340 name: vfc-emsdriver
BorislavG8bfc6cf2018-02-27 15:04:26 +0000341 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800342 annotations:
343 msb.onap.org/service-info: '[
344 {
345 "serviceName": "emsdriver",
346 "version": "v1",
347 "url": "/api/emsdriver/v1",
348 "protocol": "REST",
349 "port": "{{.Values.emsdriver.port}}",
350 "visualRange":"1"
351 }
352 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800353spec:
354 ports:
355 - name: vfc-emsdriver
356 port: {{.Values.emsdriver.port}}
357 nodePort: {{.Values.emsdriver.nodePort}}
358 selector:
359 app: vfc-emsdriver
360 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300361#{{ end }}
362#{{ if not .Values.disableVfcVfcWorkflow }}
maopengzhang799cc592017-09-01 09:37:48 +0800363---
364apiVersion: v1
365kind: Service
366metadata:
367 labels:
368 app: vfc-workflow
369 name: vfc-workflow
BorislavG8bfc6cf2018-02-27 15:04:26 +0000370 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800371 annotations:
372 msb.onap.org/service-info: '[
373 {
374 "serviceName": "workflow",
375 "version": "v1",
376 "url": "/api/workflow/v1",
377 "protocol": "REST",
378 "port": "{{.Values.workflow.port}}",
379 "visualRange":"1"
380 }
381 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800382spec:
383 ports:
384 - name: vfc-workflow
385 port: {{.Values.workflow.port}}
386 nodePort: {{.Values.workflow.nodePort}}
387 selector:
388 app: vfc-workflow
389 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300390#{{ end }}
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500391#{{ if not .Values.disableVfcVfcWorkflowEngineActiviti }}
392---
393apiVersion: v1
394kind: Service
395metadata:
396 labels:
397 app: vfc-workflowengineactiviti
398 name: vfc-workflowengineactiviti
BorislavG8bfc6cf2018-02-27 15:04:26 +0000399 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500400 annotations:
401 msb.onap.org/service-info: '[
402 {
403 "serviceName": "workflow",
404 "version": "v1",
405 "url": "/activiti-rest",
406 "protocol": "REST",
407 "port": "{{.Values.workflowengineactiviti.port}}",
408 "visualRange":"1"
409 }
410 ]'
411spec:
412 ports:
413 - name: vfc-workflow
414 port: {{.Values.workflowengineactiviti.port}}
415 nodePort: {{.Values.workflowengineactiviti.nodePort}}
416 selector:
417 app: vfc-workflow
418 type: NodePort
419#{{ end }}
yurynfcef9942017-10-26 17:10:50 +0300420#{{ if not .Values.disableVfcVfcCatalog }}
maopengzhang799cc592017-09-01 09:37:48 +0800421---
422apiVersion: v1
423kind: Service
424metadata:
425 labels:
426 app: vfc-catalog
427 name: vfc-catalog
BorislavG8bfc6cf2018-02-27 15:04:26 +0000428 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800429 annotations:
430 msb.onap.org/service-info: '[
431 {
432 "serviceName": "catalog",
433 "version": "v1",
434 "url": "/api/catalog/v1",
435 "protocol": "REST",
436 "port": "{{.Values.catalog.port}}",
437 "visualRange":"1"
438 }
Mandeep Khindab3d92212017-10-16 20:31:18 +0000439 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800440spec:
441 ports:
442 - name: vfc-catalog
443 port: {{.Values.catalog.port}}
444 nodePort: {{.Values.catalog.nodePort}}
445 selector:
446 app: vfc-catalog
447 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300448#{{ end }}