blob: 6eefe65cffd282c7455f059a0bb8907e55ba2979 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMsoMariadb }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002apiVersion: v1
3kind: Service
4metadata:
BorislavG8bfc6cf2018-02-27 15:04:26 +00005 name: mso-mariadb
6 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
BorislavG8bfc6cf2018-02-27 15:04:26 +00008 app: mso-mariadb
Mandeep Khindad6ea9872017-06-24 11:49:37 -04009spec:
10 ports:
BorislavG8bfc6cf2018-02-27 15:04:26 +000011 - port: 3306
12 name: mso-mariadb-3306
Mandeep Khindad6ea9872017-06-24 11:49:37 -040013 selector:
BorislavG8bfc6cf2018-02-27 15:04:26 +000014 app: mso-mariadb
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableMsoMso }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: mso
BorislavG8bfc6cf2018-02-27 15:04:26 +000023 namespace: "{{ .Values.nsPrefix }}"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040024 labels:
25 app: mso
HuabingZhao5b8b12a2017-09-01 13:03:33 +080026 annotations:
27 msb.onap.org/service-info: '[
28 {
29 "serviceName": "so",
30 "version": "v1",
31 "url": "/ecomp/mso/infra",
32 "protocol": "REST"
33 "port": "8080",
34 "visualRange":"1"
35 },
36 {
37 "serviceName": "so-deprecated",
38 "version": "v1",
39 "url": "/ecomp/mso/infra",
40 "protocol": "REST"
41 "port": "8080",
42 "visualRange":"1",
43 "path":"/ecomp/mso/infra"
44 }
45 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -040046spec:
47 selector:
48 app: mso
49 ports:
50 - name: mso1
51 port: 8080
kerenj78eff212017-08-29 09:56:36 +000052 nodePort: {{ .Values.nodePortPrefix }}23
Mandeep Khindad6ea9872017-06-24 11:49:37 -040053 - name: mso2
54 port: 3904
kerenj78eff212017-08-29 09:56:36 +000055 nodePort: {{ .Values.nodePortPrefix }}25
Mandeep Khindad6ea9872017-06-24 11:49:37 -040056 - name: mso3
57 port: 3905
kerenj78eff212017-08-29 09:56:36 +000058 nodePort: {{ .Values.nodePortPrefix }}24
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059 - name: mso4
60 port: 9990
kerenj78eff212017-08-29 09:56:36 +000061 nodePort: {{ .Values.nodePortPrefix }}22
Mandeep Khindad6ea9872017-06-24 11:49:37 -040062 - name: mso5
63 port: 8787
kerenj78eff212017-08-29 09:56:36 +000064 nodePort: {{ .Values.nodePortPrefix }}50
Mandeep Khindad6ea9872017-06-24 11:49:37 -040065 type: NodePort
BorislavG8bfc6cf2018-02-27 15:04:26 +000066#{{ end }}