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.disableMessageRouterZookeeper }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: zookeeper |
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: zookeeper |
| 23 | spec: |
| 24 | ports: |
| 25 | - name: zookeeper1 |
| 26 | port: 2181 |
| 27 | selector: |
| 28 | app: zookeeper |
| 29 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 30 | #{{ end }} |
| 31 | #{{ if not .Values.disableMessageRouterGlobalKafka }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 32 | --- |
| 33 | apiVersion: v1 |
| 34 | kind: Service |
| 35 | metadata: |
| 36 | name: global-kafka |
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: global-kafka |
| 40 | spec: |
| 41 | ports: |
| 42 | - name: kafka1 |
| 43 | port: 9092 |
| 44 | selector: |
| 45 | app: global-kafka |
| 46 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 47 | #{{ end }} |
| 48 | #{{ if not .Values.disableMessageRouterDmaap }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 49 | --- |
| 50 | apiVersion: v1 |
| 51 | kind: Service |
| 52 | metadata: |
| 53 | name: dmaap |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 54 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 55 | labels: |
| 56 | app: dmaap |
| 57 | version: 1.0.0 |
HuabingZhao | d5f7e84 | 2017-09-13 22:49:23 -0400 | [diff] [blame] | 58 | annotations: |
| 59 | msb.onap.org/service-info: '[ |
| 60 | { |
| 61 | "serviceName": "message-router", |
| 62 | "version": "v1", |
| 63 | "url": "/", |
| 64 | "protocol": "REST", |
| 65 | "port": "3904", |
| 66 | "visualRange":"1" |
| 67 | } |
| 68 | ]' |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 69 | spec: |
| 70 | ports: |
| 71 | - name: mr1 |
| 72 | port: 3904 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 73 | nodePort: {{ .Values.nodePortPrefix }}27 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 74 | - name: mr2 |
| 75 | port: 3905 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 76 | nodePort: {{ .Values.nodePortPrefix }}26 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 77 | selector: |
| 78 | app: dmaap |
| 79 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 80 | #{{ end }} |