blob: c6b633e98ddd647336056fb8c697635399a33815 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disablePolicyMariadb }}
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 }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007 labels:
8 app: mariadb
9spec:
10 ports:
11 - name: 3306-port
12 port: 3306
13 selector:
14 app: mariadb
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disablePolicyNexus }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 labels:
23 app: nexus
24 name: nexus
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000025 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040026spec:
27 ports:
28 - name: nexus-port
29 port: 8081
30 selector:
31 app: nexus
32 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030033#{{ end }}
34#{{ if not .Values.disablePolicyDrools }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040035---
36apiVersion: v1
37kind: Service
38metadata:
39 labels:
40 app: drools
41 name: drools
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000042 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040043spec:
44 ports:
45 - name: "drools-port"
46 port: 6969
kerenj78eff212017-08-29 09:56:36 +000047 nodePort: {{ .Values.nodePortPrefix }}17
Alexis de Talhouƫtdf4db0b2017-12-11 08:36:25 -050048 - name: "drools-port2"
49 port: 9696
50 nodePort: {{ .Values.nodePortPrefix }}21
Mandeep Khindad6ea9872017-06-24 11:49:37 -040051 selector:
52 app: drools
53 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030054#{{ end }}
55#{{ if not .Values.disablePolicyPap }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040056---
57apiVersion: v1
58kind: Service
59metadata:
60 name: pap
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000061 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040062 labels:
63 app: pap
64spec:
65 ports:
66 - name: 8443-port
67 port: 8443
kerenj78eff212017-08-29 09:56:36 +000068 nodePort: {{ .Values.nodePortPrefix }}19
Mandeep Khindad6ea9872017-06-24 11:49:37 -040069 - name: 9091-port
70 port: 9091
kerenj78eff212017-08-29 09:56:36 +000071 nodePort: {{ .Values.nodePortPrefix }}18
Mandeep Khindad6ea9872017-06-24 11:49:37 -040072 selector:
73 app: pap
74 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030075#{{ end }}
76#{{ if not .Values.disablePolicyPdp }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040077---
78apiVersion: v1
79kind: Service
80metadata:
81 name: pdp
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000082 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040083 labels:
84 app: pdp
HuabingZhaoba913cb2017-08-30 17:22:19 +080085 annotations:
86 msb.onap.org/service-info: '[
87 {
88 "serviceName": "policy-pdp",
89 "version": "v1",
90 "url": "/pdp",
HuabingZhaoead916e2017-09-15 21:02:46 -040091 "protocol": "REST",
HuabingZhaof48d0832017-09-01 12:50:20 +080092 "port": "8081",
HuabingZhaoba913cb2017-08-30 17:22:19 +080093 "visualRange":"1"
94 },
95 {
96 "serviceName": "policy-pdp-deprecated",
97 "version": "v1",
98 "url": "/pdp",
HuabingZhaoead916e2017-09-15 21:02:46 -040099 "protocol": "REST",
HuabingZhaof48d0832017-09-01 12:50:20 +0800100 "port": "8081",
HuabingZhaoba913cb2017-08-30 17:22:19 +0800101 "visualRange":"1",
102 "path":"/pdp"
103 }
104 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400105spec:
106 ports:
107 - name: 8081-port
108 port: 8081
kerenj78eff212017-08-29 09:56:36 +0000109 nodePort: {{ .Values.nodePortPrefix }}20
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400110 selector:
111 app: pdp
112 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300113#{{ end }}
114#{{ if not .Values.disablePolicyBrmsgw }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400115---
116apiVersion: v1
117kind: Service
118metadata:
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400119 name: brmsgw
Mandeep Khinda0e8f8892017-08-25 03:31:17 +0000120 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400121 labels:
122 app: brmsgw
123spec:
124 ports:
125 - name: 9989-port
126 port: 9989
kerenj78eff212017-08-29 09:56:36 +0000127 nodePort: {{ .Values.nodePortPrefix }}16
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400128 selector:
129 app: brmsgw
130 type: NodePort
vaibhav_16dec8de39a72018-01-17 12:22:52 +0000131#{{ end }}