blob: a1c480458dbae50272e7d89247da81d01b40bf21 [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
Mandeep Khindad6ea9872017-06-24 11:49:37 -040048 selector:
49 app: drools
50 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030051#{{ end }}
52#{{ if not .Values.disablePolicyPap }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040053---
54apiVersion: v1
55kind: Service
56metadata:
57 name: pap
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000058 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059 labels:
60 app: pap
61spec:
62 ports:
63 - name: 8443-port
64 port: 8443
kerenj78eff212017-08-29 09:56:36 +000065 nodePort: {{ .Values.nodePortPrefix }}19
Mandeep Khindad6ea9872017-06-24 11:49:37 -040066 - name: 9091-port
67 port: 9091
kerenj78eff212017-08-29 09:56:36 +000068 nodePort: {{ .Values.nodePortPrefix }}18
Mandeep Khindad6ea9872017-06-24 11:49:37 -040069 selector:
70 app: pap
71 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030072#{{ end }}
73#{{ if not .Values.disablePolicyPdp }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040074---
75apiVersion: v1
76kind: Service
77metadata:
78 name: pdp
Mandeep Khinda0e8f8892017-08-25 03:31:17 +000079 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -040080 labels:
81 app: pdp
HuabingZhaoba913cb2017-08-30 17:22:19 +080082 annotations:
83 msb.onap.org/service-info: '[
84 {
85 "serviceName": "policy-pdp",
86 "version": "v1",
87 "url": "/pdp",
HuabingZhaoead916e2017-09-15 21:02:46 -040088 "protocol": "REST",
HuabingZhaof48d0832017-09-01 12:50:20 +080089 "port": "8081",
HuabingZhaoba913cb2017-08-30 17:22:19 +080090 "visualRange":"1"
91 },
92 {
93 "serviceName": "policy-pdp-deprecated",
94 "version": "v1",
95 "url": "/pdp",
HuabingZhaoead916e2017-09-15 21:02:46 -040096 "protocol": "REST",
HuabingZhaof48d0832017-09-01 12:50:20 +080097 "port": "8081",
HuabingZhaoba913cb2017-08-30 17:22:19 +080098 "visualRange":"1",
99 "path":"/pdp"
100 }
101 ]'
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400102spec:
103 ports:
104 - name: 8081-port
105 port: 8081
kerenj78eff212017-08-29 09:56:36 +0000106 nodePort: {{ .Values.nodePortPrefix }}20
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400107 selector:
108 app: pdp
109 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300110#{{ end }}
111#{{ if not .Values.disablePolicyBrmsgw }}
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400112---
113apiVersion: v1
114kind: Service
115metadata:
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400116 name: brmsgw
Mandeep Khinda0e8f8892017-08-25 03:31:17 +0000117 namespace: "{{ .Values.nsPrefix }}-policy"
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400118 labels:
119 app: brmsgw
120spec:
121 ports:
122 - name: 9989-port
123 port: 9989
kerenj78eff212017-08-29 09:56:36 +0000124 nodePort: {{ .Values.nodePortPrefix }}16
Mandeep Khindad6ea9872017-06-24 11:49:37 -0400125 selector:
126 app: brmsgw
127 type: NodePort
yurynfcef9942017-10-26 17:10:50 +0300128#{{ end }}