blob: 1e8abe2ec3135ccd0c396b2193c7ad8fe699253c [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 }}
Denes Nemethad6799b2018-03-28 17:35:28 +0200159#{{ if not .Values.disableVfcVfcNokiav2vnfmdriver }}
160---
161apiVersion: v1
162kind: Service
163metadata:
164 labels:
165 app: vfc-nokiav2vnfmdriver
166 name: vfc-nokiav2vnfmdriver
167 namespace: "{{ .Values.nsPrefix }}"
168 annotations:
169 msb.onap.org/service-info: '[
170 {
171 "serviceName": "NokiaSVNFM",
172 "version": "v1",
173 "url": "/api/NokiaSVNFM/v1",
174 "protocol": "REST",
175 "port": "{{.Values.nokiav2vnfmdriver.port}}",
176 "visualRange":"1"
177 }
178 ]'
179spec:
180 ports:
181 - name: vfc-nokiav2vnfmdriver
182 port: {{.Values.nokiav2vnfmdriver.port}}
183 nodePort: {{.Values.nokiav2vnfmdriver.nodePort}}
184 selector:
185 app: vfc-nokiav2vnfmdriver
186 type: NodePort
187#{{ end }}
maopengzhangeea3dd62017-12-11 18:00:13 +0800188#{{ if not .Values.disableVfcVfcHwvnfmdriver }}
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500189---
190apiVersion: v1
191kind: Service
192metadata:
193 labels:
maopengzhang799cc592017-09-01 09:37:48 +0800194 app: vfc-hwvnfmdriver
195 name: vfc-hwvnfmdriver
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": "huaweivnfmdriver",
201 "version": "v1",
202 "url": "/api/huaweivnfmdriver/v1",
203 "protocol": "REST",
204 "port": "{{.Values.hwvnfmdriver.port}}",
205 "visualRange":"1"
206 }
207 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800208spec:
209 ports:
maopengzhangeea3dd62017-12-11 18:00:13 +0800210 - name: vfc-hwvnfmdriver
maopengzhang799cc592017-09-01 09:37:48 +0800211 port: {{.Values.hwvnfmdriver.port}}
212 nodePort: {{.Values.hwvnfmdriver.nodePort}}
213 selector:
214 app: vfc-hwvnfmdriver
215 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300216#{{ end }}
217#{{ if not .Values.disableVfcVfcZtesdncdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800218---
219apiVersion: v1
220kind: Service
221metadata:
222 labels:
223 app: vfc-ztesdncdriver
224 name: vfc-ztesdncdriver
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": "ztesdncdriver",
230 "version": "v1",
231 "url": "/api/ztesdncdriver/v1",
232 "protocol": "REST",
233 "port": "{{.Values.ztesdncdriver.port}}",
234 "visualRange":"1"
235 }
236 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800237spec:
238 ports:
239 - name: vfc-ztesdncdriver
240 port: {{.Values.ztesdncdriver.port}}
241 nodePort: {{.Values.ztesdncdriver.nodePort}}
242 selector:
243 app: vfc-ztesdncdriver
244 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300245#{{ end }}
246#{{ if not .Values.disableVfcVfcJujudriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800247---
248apiVersion: v1
249kind: Service
250metadata:
251 labels:
252 app: vfc-jujudriver
253 name: vfc-jujudriver
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": "jujuvnfmdriver",
259 "version": "v1",
260 "url": "/api/jujuvnfmdriver/v1",
261 "protocol": "REST",
262 "port": "{{.Values.jujudriver.port}}",
263 "visualRange":"1"
264 }
265 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800266spec:
267 ports:
268 - name: vfc-jujudriver
269 port: {{.Values.jujudriver.port}}
270 nodePort: {{.Values.jujudriver.nodePort}}
271 selector:
272 app: vfc-jujudriver
273 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300274#{{ end }}
275#{{ if not .Values.disableVfcVfcVnflcm }}
maopengzhang799cc592017-09-01 09:37:48 +0800276---
277apiVersion: v1
278kind: Service
279metadata:
280 labels:
281 app: vfc-vnflcm
282 name: vfc-vnflcm
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": "vnflcm",
288 "version": "v1",
289 "url": "/api/vnflcm/v1",
290 "protocol": "REST",
291 "port": "{{.Values.vnflcm.port}}",
292 "visualRange":"1"
293 }
294 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800295spec:
296 ports:
297 - name: vfc-vnflcm
298 port: {{.Values.vnflcm.port}}
299 nodePort: {{.Values.vnflcm.nodePort}}
300 selector:
301 app: vfc-vnflcm
302 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300303#{{ end }}
304#{{ if not .Values.disableVfcVfcVnfres }}
maopengzhang799cc592017-09-01 09:37:48 +0800305---
306apiVersion: v1
307kind: Service
308metadata:
309 labels:
310 app: vfc-vnfres
311 name: vfc-vnfres
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": "vnfres",
317 "version": "v1",
318 "url": "/api/vnfres/v1",
319 "protocol": "REST",
320 "port": "{{.Values.vnfres.port}}",
321 "visualRange":"1"
322 }
323 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800324spec:
325 ports:
326 - name: vfc-vnfres
327 port: {{.Values.vnfres.port}}
328 nodePort: {{.Values.vnfres.nodePort}}
329 selector:
330 app: vfc-vnfres
331 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300332#{{ end }}
333#{{ if not .Values.disableVfcVfcVnfmgr }}
maopengzhang799cc592017-09-01 09:37:48 +0800334---
335apiVersion: v1
336kind: Service
337metadata:
338 labels:
339 app: vfc-vnfmgr
340 name: vfc-vnfmgr
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": "vnfmgr",
346 "version": "v1",
347 "url": "/api/vnfmgr/v1",
348 "protocol": "REST",
349 "port": "{{.Values.vnfmgr.port}}",
350 "visualRange":"1"
351 }
352 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800353spec:
354 ports:
355 - name: vfc-vnfmgr
356 port: {{.Values.vnfmgr.port}}
357 nodePort: {{.Values.vnfmgr.nodePort}}
358 selector:
359 app: vfc-vnfmgr
360 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300361#{{ end }}
362#{{ if not .Values.disableVfcVfcEmsdriver }}
maopengzhang799cc592017-09-01 09:37:48 +0800363---
364apiVersion: v1
365kind: Service
366metadata:
367 labels:
368 app: vfc-emsdriver
369 name: vfc-emsdriver
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": "emsdriver",
375 "version": "v1",
376 "url": "/api/emsdriver/v1",
377 "protocol": "REST",
378 "port": "{{.Values.emsdriver.port}}",
379 "visualRange":"1"
380 }
381 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800382spec:
383 ports:
384 - name: vfc-emsdriver
385 port: {{.Values.emsdriver.port}}
386 nodePort: {{.Values.emsdriver.nodePort}}
387 selector:
388 app: vfc-emsdriver
389 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300390#{{ end }}
391#{{ if not .Values.disableVfcVfcWorkflow }}
maopengzhang799cc592017-09-01 09:37:48 +0800392---
393apiVersion: v1
394kind: Service
395metadata:
396 labels:
397 app: vfc-workflow
398 name: vfc-workflow
BorislavG8bfc6cf2018-02-27 15:04:26 +0000399 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800400 annotations:
401 msb.onap.org/service-info: '[
402 {
403 "serviceName": "workflow",
404 "version": "v1",
405 "url": "/api/workflow/v1",
406 "protocol": "REST",
407 "port": "{{.Values.workflow.port}}",
408 "visualRange":"1"
409 }
410 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800411spec:
412 ports:
413 - name: vfc-workflow
414 port: {{.Values.workflow.port}}
415 nodePort: {{.Values.workflow.nodePort}}
416 selector:
417 app: vfc-workflow
418 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300419#{{ end }}
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500420#{{ if not .Values.disableVfcVfcWorkflowEngineActiviti }}
421---
422apiVersion: v1
423kind: Service
424metadata:
425 labels:
426 app: vfc-workflowengineactiviti
427 name: vfc-workflowengineactiviti
BorislavG8bfc6cf2018-02-27 15:04:26 +0000428 namespace: "{{ .Values.nsPrefix }}"
Alexis de Talhouëted6bd732017-11-28 14:59:30 -0500429 annotations:
430 msb.onap.org/service-info: '[
431 {
432 "serviceName": "workflow",
433 "version": "v1",
434 "url": "/activiti-rest",
435 "protocol": "REST",
436 "port": "{{.Values.workflowengineactiviti.port}}",
437 "visualRange":"1"
438 }
439 ]'
440spec:
441 ports:
442 - name: vfc-workflow
443 port: {{.Values.workflowengineactiviti.port}}
444 nodePort: {{.Values.workflowengineactiviti.nodePort}}
445 selector:
446 app: vfc-workflow
447 type: NodePort
448#{{ end }}
yurynfcef9942017-10-26 17:10:50 +0300449#{{ if not .Values.disableVfcVfcCatalog }}
maopengzhang799cc592017-09-01 09:37:48 +0800450---
451apiVersion: v1
452kind: Service
453metadata:
454 labels:
455 app: vfc-catalog
456 name: vfc-catalog
BorislavG8bfc6cf2018-02-27 15:04:26 +0000457 namespace: "{{ .Values.nsPrefix }}"
HuabingZhao2f044d82017-09-28 00:42:55 +0800458 annotations:
459 msb.onap.org/service-info: '[
460 {
461 "serviceName": "catalog",
462 "version": "v1",
463 "url": "/api/catalog/v1",
464 "protocol": "REST",
465 "port": "{{.Values.catalog.port}}",
466 "visualRange":"1"
467 }
Mandeep Khindab3d92212017-10-16 20:31:18 +0000468 ]'
maopengzhang799cc592017-09-01 09:37:48 +0800469spec:
470 ports:
471 - name: vfc-catalog
472 port: {{.Values.catalog.port}}
473 nodePort: {{.Values.catalog.nodePort}}
474 selector:
475 app: vfc-catalog
476 type: NodePort
Denes Nemethad6799b2018-03-28 17:35:28 +0200477#{{ end }}