yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMsoMariadb }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 5 | name: mso-mariadb |
| 6 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 7 | labels: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 8 | app: mso-mariadb |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 9 | spec: |
| 10 | ports: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 11 | - port: 3306 |
| 12 | name: mso-mariadb-3306 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 13 | selector: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 14 | app: mso-mariadb |
| 15 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disableMsoMso }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: mso |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 23 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 24 | labels: |
| 25 | app: mso |
HuabingZhao | 5b8b12a | 2017-09-01 13:03:33 +0800 | [diff] [blame] | 26 | annotations: |
| 27 | msb.onap.org/service-info: '[ |
| 28 | { |
| 29 | "serviceName": "so", |
| 30 | "version": "v1", |
| 31 | "url": "/ecomp/mso/infra", |
| 32 | "protocol": "REST" |
| 33 | "port": "8080", |
| 34 | "visualRange":"1" |
| 35 | }, |
| 36 | { |
| 37 | "serviceName": "so-deprecated", |
| 38 | "version": "v1", |
| 39 | "url": "/ecomp/mso/infra", |
| 40 | "protocol": "REST" |
| 41 | "port": "8080", |
| 42 | "visualRange":"1", |
| 43 | "path":"/ecomp/mso/infra" |
| 44 | } |
| 45 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 46 | spec: |
| 47 | selector: |
| 48 | app: mso |
| 49 | ports: |
| 50 | - name: mso1 |
| 51 | port: 8080 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 52 | nodePort: {{ .Values.nodePortPrefix }}23 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 53 | - name: mso2 |
| 54 | port: 3904 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 55 | nodePort: {{ .Values.nodePortPrefix }}25 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 56 | - name: mso3 |
| 57 | port: 3905 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 58 | nodePort: {{ .Values.nodePortPrefix }}24 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | - name: mso4 |
| 60 | port: 9990 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 61 | nodePort: {{ .Values.nodePortPrefix }}22 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 62 | - name: mso5 |
| 63 | port: 8787 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 64 | nodePort: {{ .Values.nodePortPrefix }}50 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 65 | type: NodePort |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame^] | 66 | #{{ end }} |