blob: 09a90d0eca43ab5948986ec8c5d054c2186723d1 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMulticloudFramework }}
liangkec5861802017-09-12 15:41:20 +08002apiVersion: v1
3kind: Service
4metadata:
5 name: framework
6 namespace: "{{ .Values.nsPrefix }}-multicloud"
7 labels:
8 name: framework
9 annotations:
10 msb.onap.org/service-info: '[
11 {
12 "serviceName": "multicloud",
13 "version": "v0",
14 "url": "/api/multicloud/v0",
15 "protocol": "REST",
16 "port": "9001",
17 "visualRange": "1"
18 }
19 ]'
20spec:
21 ports:
22 - name: "framework-port"
23 port: 9001
24 nodePort: {{ .Values.nodePortPrefix }}91
25 selector:
26 app: framework
27 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030028#{{ end }}
29#{{ if not .Values.disableMulticloudMulticloudVio }}
liangkec5861802017-09-12 15:41:20 +080030---
31apiVersion: v1
32kind: Service
33metadata:
34 name: multicloud-vio
35 namespace: "{{ .Values.nsPrefix }}-multicloud"
36 labels:
37 name: multicloud-vio
38 annotations:
39 msb.onap.org/service-info: '[
40 {
41 "serviceName": "multicloud-vio",
42 "version": "v0",
43 "url": "/api/multicloud-vio/v0",
44 "protocol": "REST",
45 "port": "9004",
46 "visualRange": "1"
47 }
48 ]'
49
50spec:
51 ports:
52 - name: "multicloud-port"
53 port: 9004
Bin Yang0b2158e2017-09-26 07:21:57 +080054 nodePort: {{ .Values.nodePortPrefix }}92
liangkec5861802017-09-12 15:41:20 +080055 selector:
56 app: multicloud-vio
57 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030058#{{ end }}
59#{{ if not .Values.disableMulticloudMulticloudOcata }}
Bin Yang0b2158e2017-09-26 07:21:57 +080060---
61apiVersion: v1
62kind: Service
63metadata:
64 name: multicloud-ocata
65 namespace: "{{ .Values.nsPrefix }}-multicloud"
66 labels:
67 name: multicloud-ocata
68 annotations:
69 msb.onap.org/service-info: '[
70 {
71 "serviceName": "multicloud-ocata",
72 "version": "v0",
73 "url": "/api/multicloud-ocata/v0",
74 "protocol": "REST",
75 "port": "9006",
76 "visualRange": "1"
77 }
78 ]'
79
80spec:
81 ports:
82 - name: "multicloud-port"
83 port: 9006
84 nodePort: {{ .Values.nodePortPrefix }}93
85 selector:
86 app: multicloud-ocata
87 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030088#{{ end }}
89#{{ if not .Values.disableMulticloudMulticloudWindriver }}
Bin Yang0b2158e2017-09-26 07:21:57 +080090---
91apiVersion: v1
92kind: Service
93metadata:
94 name: multicloud-windriver
95 namespace: "{{ .Values.nsPrefix }}-multicloud"
96 labels:
97 name: multicloud-windriver
98 annotations:
99 msb.onap.org/service-info: '[
100 {
101 "serviceName": "multicloud-titanium_cloud",
102 "version": "v0",
103 "url": "/api/multicloud-titanium_cloud/v0",
104 "protocol": "REST",
105 "port": "9005",
106 "visualRange": "1"
107 }
108 ]'
109
110spec:
111 ports:
112 - name: "multicloud-port"
113 port: 9005
114 nodePort: {{ .Values.nodePortPrefix }}94
115 selector:
116 app: multicloud-windriver
117 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300118#{{ end }}