yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disablePolicyMariadb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: mariadb |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: mariadb |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: 3306-port |
| 12 | port: 3306 |
| 13 | selector: |
| 14 | app: mariadb |
| 15 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disablePolicyNexus }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | labels: |
| 23 | app: nexus |
| 24 | name: nexus |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 25 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 26 | spec: |
| 27 | ports: |
| 28 | - name: nexus-port |
| 29 | port: 8081 |
| 30 | selector: |
| 31 | app: nexus |
| 32 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 33 | #{{ end }} |
| 34 | #{{ if not .Values.disablePolicyDrools }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: Service |
| 38 | metadata: |
| 39 | labels: |
| 40 | app: drools |
| 41 | name: drools |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 42 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 43 | spec: |
| 44 | ports: |
| 45 | - name: "drools-port" |
| 46 | port: 6969 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 47 | nodePort: {{ .Values.nodePortPrefix }}17 |
Alexis de Talhouƫt | df4db0b | 2017-12-11 08:36:25 -0500 | [diff] [blame] | 48 | - name: "drools-port2" |
| 49 | port: 9696 |
| 50 | nodePort: {{ .Values.nodePortPrefix }}21 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 51 | selector: |
| 52 | app: drools |
| 53 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 54 | #{{ end }} |
| 55 | #{{ if not .Values.disablePolicyPap }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 56 | --- |
| 57 | apiVersion: v1 |
| 58 | kind: Service |
| 59 | metadata: |
| 60 | name: pap |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 61 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 62 | labels: |
| 63 | app: pap |
| 64 | spec: |
| 65 | ports: |
| 66 | - name: 8443-port |
| 67 | port: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 68 | nodePort: {{ .Values.nodePortPrefix }}19 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 69 | - name: 9091-port |
| 70 | port: 9091 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 71 | nodePort: {{ .Values.nodePortPrefix }}18 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 72 | selector: |
| 73 | app: pap |
| 74 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 75 | #{{ end }} |
| 76 | #{{ if not .Values.disablePolicyPdp }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 77 | --- |
| 78 | apiVersion: v1 |
| 79 | kind: Service |
| 80 | metadata: |
| 81 | name: pdp |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 82 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 83 | labels: |
| 84 | app: pdp |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 85 | annotations: |
| 86 | msb.onap.org/service-info: '[ |
| 87 | { |
| 88 | "serviceName": "policy-pdp", |
| 89 | "version": "v1", |
| 90 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 91 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 92 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 93 | "visualRange":"1" |
| 94 | }, |
| 95 | { |
| 96 | "serviceName": "policy-pdp-deprecated", |
| 97 | "version": "v1", |
| 98 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 99 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 100 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 101 | "visualRange":"1", |
| 102 | "path":"/pdp" |
| 103 | } |
| 104 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 105 | spec: |
| 106 | ports: |
| 107 | - name: 8081-port |
| 108 | port: 8081 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 109 | nodePort: {{ .Values.nodePortPrefix }}20 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 110 | selector: |
| 111 | app: pdp |
| 112 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 113 | #{{ end }} |
| 114 | #{{ if not .Values.disablePolicyBrmsgw }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 115 | --- |
| 116 | apiVersion: v1 |
| 117 | kind: Service |
| 118 | metadata: |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 119 | name: brmsgw |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 120 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 121 | labels: |
| 122 | app: brmsgw |
| 123 | spec: |
| 124 | ports: |
| 125 | - name: 9989-port |
| 126 | port: 9989 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 127 | nodePort: {{ .Values.nodePortPrefix }}16 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 128 | selector: |
| 129 | app: brmsgw |
| 130 | type: NodePort |
vaibhav_16dec | 8de39a7 | 2018-01-17 12:22:52 +0000 | [diff] [blame] | 131 | #{{ end }} |