blob: 44e47c10fc967447d06ca8e95bc833985c22e81b [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:
5 name: mariadb
Mandeep Khinda0e8f8892017-08-25 03:31:17 +00006 namespace: "{{ .Values.nsPrefix }}-mso"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: mariadb
9spec:
10 ports:
11 - port: 3306
kerenj78eff212017-08-29 09:56:36 +000012 nodePort: {{ .Values.nodePortPrefix }}52
Mandeep Khindad6ea9872017-06-24 11:49:37 -040013 selector:
14 app: mariadb
15 type: NodePort
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
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000023 namespace: "{{ .Values.nsPrefix }}-mso"
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
yurynfcef9942017-10-26 17:10:50 +030066#{{ end }}