blob: 4100dc24a4d372e243fa7fa29b1f3b7bd1400b79 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableSdcSdcEs }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
5 labels:
6 app: sdc-es
7 name: sdc-es
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00008 namespace: "{{ .Values.nsPrefix }}-sdc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04009spec:
10 ports:
11 - name: sdc-es-port-9200
12 port: 9200
13 - name: sdc-es-port-9300
14 port: 9300
15 selector:
16 app: sdc-es
17 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030018#{{ end }}
19#{{ if not .Values.disableSdcSdcCs }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040020---
21apiVersion: v1
22kind: Service
23metadata:
24 labels:
25 app: sdc-cs
26 name: sdc-cs
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000027 namespace: "{{ .Values.nsPrefix }}-sdc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040028spec:
29 ports:
30 - name: sdc-cs-port-9042
31 port: 9042
32 - name: sdc-cs-port-9160
33 port: 9160
34 selector:
35 app: sdc-cs
36 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030037#{{ end }}
38#{{ if not .Values.disableSdcSdcKb }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040039---
40apiVersion: v1
41kind: Service
42metadata:
43 labels:
44 app: sdc-kb
45 name: sdc-kb
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000046 namespace: "{{ .Values.nsPrefix }}-sdc"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040047spec:
48 ports:
49 - name: sdc-kb-port-5601
50 port: 5601
51 selector:
52 app: sdc-kb
53 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030054#{{ end }}
55#{{ if not .Values.disableSdcSdcBe }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040056---
57apiVersion: v1
58kind: Service
59metadata:
60 labels:
61 app: sdc-be
62 name: sdc-be
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000063 namespace: "{{ .Values.nsPrefix }}-sdc"
HuabingZhao19f78a72017-09-15 04:58:43 -040064 annotations:
65 msb.onap.org/service-info: '[
66 {
67 "serviceName": "sdc",
68 "version": "v1",
69 "url": "/sdc/v1",
70 "protocol": "REST",
71 "port": "8080",
72 "visualRange":"1"
73 },
74 {
75 "serviceName": "sdc-deprecated",
76 "version": "v1",
77 "url": "/sdc/v1",
78 "protocol": "REST",
79 "port": "8080",
80 "visualRange":"1",
81 "path":"/sdc/v1"
82 }
83 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040084spec:
85 ports:
86 - name: sdc-be-port-8443
kerenj78eff212017-08-29 09:56:36 +000087 nodePort: {{ .Values.nodePortPrefix }}04
Mandeep Khindad6ea9872017-06-24 11:49:37 -040088 port: 8443
89 - name: sdc-be-port-8080
kerenj78eff212017-08-29 09:56:36 +000090 nodePort: {{ .Values.nodePortPrefix }}05
Mandeep Khindad6ea9872017-06-24 11:49:37 -040091 port: 8080
92 selector:
93 app: sdc-be
94 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030095#{{ end }}
96#{{ if not .Values.disableSdcSdcFe }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040097---
98apiVersion: v1
99kind: Service
100metadata:
101 labels:
102 app: sdc-fe
103 name: sdc-fe
Mandeep Khinda0e8f8892017-08-25 03:31:17 +0000104 namespace: "{{ .Values.nsPrefix }}-sdc"
HuabingZhao19f78a72017-09-15 04:58:43 -0400105 annotations:
106 msb.onap.org/service-info: '[
107 {
108 "serviceName": "sdc-gui",
109 "version": "v1",
110 "url": "/sdc1",
111 "protocol": "UI",
112 "port": "8181",
113 "visualRange":"0|1"
114 }
115 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400116spec:
117 ports:
118 - name: sdc-fe-port-9443
kerenj78eff212017-08-29 09:56:36 +0000119 nodePort: {{ .Values.nodePortPrefix }}07
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400120 port: 9443
121 - name: sdc-fe-port-8181
kerenj78eff212017-08-29 09:56:36 +0000122 nodePort: {{ .Values.nodePortPrefix }}06
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400123 port: 8181
124 selector:
125 app: sdc-fe
126 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300127#{{ end }}