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