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 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 48 | selector: |
| 49 | app: drools |
| 50 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 51 | #{{ end }} |
| 52 | #{{ if not .Values.disablePolicyPap }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 53 | --- |
| 54 | apiVersion: v1 |
| 55 | kind: Service |
| 56 | metadata: |
| 57 | name: pap |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 58 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | labels: |
| 60 | app: pap |
| 61 | spec: |
| 62 | ports: |
| 63 | - name: 8443-port |
| 64 | port: 8443 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 65 | nodePort: {{ .Values.nodePortPrefix }}19 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 66 | - name: 9091-port |
| 67 | port: 9091 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 68 | nodePort: {{ .Values.nodePortPrefix }}18 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 69 | selector: |
| 70 | app: pap |
| 71 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 72 | #{{ end }} |
| 73 | #{{ if not .Values.disablePolicyPdp }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 74 | --- |
| 75 | apiVersion: v1 |
| 76 | kind: Service |
| 77 | metadata: |
| 78 | name: pdp |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 79 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 80 | labels: |
| 81 | app: pdp |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 82 | annotations: |
| 83 | msb.onap.org/service-info: '[ |
| 84 | { |
| 85 | "serviceName": "policy-pdp", |
| 86 | "version": "v1", |
| 87 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 88 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 89 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 90 | "visualRange":"1" |
| 91 | }, |
| 92 | { |
| 93 | "serviceName": "policy-pdp-deprecated", |
| 94 | "version": "v1", |
| 95 | "url": "/pdp", |
HuabingZhao | ead916e | 2017-09-15 21:02:46 -0400 | [diff] [blame] | 96 | "protocol": "REST", |
HuabingZhao | f48d083 | 2017-09-01 12:50:20 +0800 | [diff] [blame] | 97 | "port": "8081", |
HuabingZhao | ba913cb | 2017-08-30 17:22:19 +0800 | [diff] [blame] | 98 | "visualRange":"1", |
| 99 | "path":"/pdp" |
| 100 | } |
| 101 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 102 | spec: |
| 103 | ports: |
| 104 | - name: 8081-port |
| 105 | port: 8081 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 106 | nodePort: {{ .Values.nodePortPrefix }}20 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 107 | selector: |
| 108 | app: pdp |
| 109 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 110 | #{{ end }} |
| 111 | #{{ if not .Values.disablePolicyBrmsgw }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 112 | --- |
| 113 | apiVersion: v1 |
| 114 | kind: Service |
| 115 | metadata: |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 116 | name: brmsgw |
Mandeep Khinda | 0e8f889 | 2017-08-25 03:31:17 +0000 | [diff] [blame] | 117 | namespace: "{{ .Values.nsPrefix }}-policy" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 118 | labels: |
| 119 | app: brmsgw |
| 120 | spec: |
| 121 | ports: |
| 122 | - name: 9989-port |
| 123 | port: 9989 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 124 | nodePort: {{ .Values.nodePortPrefix }}16 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 125 | selector: |
| 126 | app: brmsgw |
| 127 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 128 | #{{ end }} |