vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 15 | #{{ if not .Values.disablePolicyMariadb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: mariadb |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: mariadb |
| 23 | spec: |
| 24 | ports: |
| 25 | - name: 3306-port |
| 26 | port: 3306 |
| 27 | selector: |
| 28 | app: mariadb |
| 29 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 30 | #{{ end }} |
| 31 | #{{ if not .Values.disablePolicyNexus }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 32 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | labels: |
| 37 | app: nexus |
| 38 | name: nexus |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 39 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 40 | spec: |
| 41 | ports: |
| 42 | - name: nexus-port |
| 43 | port: 8081 |
| 44 | selector: |
| 45 | app: nexus |
| 46 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 47 | #{{ end }} |
| 48 | #{{ if not .Values.disablePolicyDrools }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 49 | --- |
| 50 | apiVersion: v1 |
| 51 | kind: Service |
| 52 | metadata: |
| 53 | labels: |
| 54 | app: drools |
| 55 | name: drools |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 56 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 57 | spec: |
| 58 | ports: |
| 59 | - name: "drools-port" |
| 60 | port: 6969 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 61 | nodePort: {{ .Values.nodePortPrefix }}17 |
Alexis de Talhouët | df4db0b | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 62 | - name: "drools-port2" |
| 63 | port: 9696 |
| 64 | nodePort: {{ .Values.nodePortPrefix }}21 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 65 | selector: |
| 66 | app: drools |
| 67 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 68 | #{{ end }} |
| 69 | #{{ if not .Values.disablePolicyPap }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 70 | --- |
| 71 | apiVersion: v1 |
| 72 | kind: Service |
| 73 | metadata: |
| 74 | name: pap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 75 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 76 | labels: |
| 77 | app: pap |
| 78 | spec: |
| 79 | ports: |
| 80 | - name: 8443-port |
| 81 | port: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 82 | nodePort: {{ .Values.nodePortPrefix }}19 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 83 | - name: 9091-port |
| 84 | port: 9091 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 85 | nodePort: {{ .Values.nodePortPrefix }}18 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 86 | selector: |
| 87 | app: pap |
| 88 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 89 | #{{ end }} |
| 90 | #{{ if not .Values.disablePolicyPdp }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 91 | --- |
| 92 | apiVersion: v1 |
| 93 | kind: Service |
| 94 | metadata: |
| 95 | name: pdp |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 96 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 97 | labels: |
| 98 | app: pdp |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 99 | annotations: |
| 100 | msb.onap.org/service-info: '[ |
| 101 | { |
| 102 | "serviceName": "policy-pdp", |
| 103 | "version": "v1", |
| 104 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 105 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 106 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 107 | "visualRange":"1" |
| 108 | }, |
| 109 | { |
| 110 | "serviceName": "policy-pdp-deprecated", |
| 111 | "version": "v1", |
| 112 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 113 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 114 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 115 | "visualRange":"1", |
| 116 | "path":"/pdp" |
| 117 | } |
| 118 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 119 | spec: |
| 120 | ports: |
| 121 | - name: 8081-port |
| 122 | port: 8081 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 123 | nodePort: {{ .Values.nodePortPrefix }}20 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 124 | selector: |
| 125 | app: pdp |
| 126 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 127 | #{{ end }} |
| 128 | #{{ if not .Values.disablePolicyBrmsgw }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 129 | --- |
| 130 | apiVersion: v1 |
| 131 | kind: Service |
| 132 | metadata: |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 133 | name: brmsgw |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 134 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 135 | labels: |
| 136 | app: brmsgw |
| 137 | spec: |
| 138 | ports: |
| 139 | - name: 9989-port |
| 140 | port: 9989 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 141 | nodePort: {{ .Values.nodePortPrefix }}16 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 142 | selector: |
| 143 | app: brmsgw |
| 144 | type: NodePort |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 145 | #{{ end }} |