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.disableMulticloudFramework }} |
liangke | c586180 | 2017-09-12 15:41:20 +0800 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | name: framework |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 20 | namespace: "{{ .Values.nsPrefix }}" |
liangke | c586180 | 2017-09-12 15:41:20 +0800 | [diff] [blame] | 21 | labels: |
| 22 | name: framework |
| 23 | annotations: |
| 24 | msb.onap.org/service-info: '[ |
| 25 | { |
| 26 | "serviceName": "multicloud", |
| 27 | "version": "v0", |
| 28 | "url": "/api/multicloud/v0", |
| 29 | "protocol": "REST", |
| 30 | "port": "9001", |
| 31 | "visualRange": "1" |
| 32 | } |
| 33 | ]' |
| 34 | spec: |
| 35 | ports: |
| 36 | - name: "framework-port" |
| 37 | port: 9001 |
| 38 | nodePort: {{ .Values.nodePortPrefix }}91 |
| 39 | selector: |
| 40 | app: framework |
| 41 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 42 | #{{ end }} |
| 43 | #{{ if not .Values.disableMulticloudMulticloudVio }} |
liangke | c586180 | 2017-09-12 15:41:20 +0800 | [diff] [blame] | 44 | --- |
| 45 | apiVersion: v1 |
| 46 | kind: Service |
| 47 | metadata: |
| 48 | name: multicloud-vio |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 49 | namespace: "{{ .Values.nsPrefix }}" |
liangke | c586180 | 2017-09-12 15:41:20 +0800 | [diff] [blame] | 50 | labels: |
| 51 | name: multicloud-vio |
| 52 | annotations: |
| 53 | msb.onap.org/service-info: '[ |
| 54 | { |
| 55 | "serviceName": "multicloud-vio", |
| 56 | "version": "v0", |
| 57 | "url": "/api/multicloud-vio/v0", |
| 58 | "protocol": "REST", |
| 59 | "port": "9004", |
| 60 | "visualRange": "1" |
| 61 | } |
| 62 | ]' |
| 63 | |
| 64 | spec: |
| 65 | ports: |
| 66 | - name: "multicloud-port" |
| 67 | port: 9004 |
Bin Yang | 0b2158e | 2017-09-26 07:21:57 +0800 | [diff] [blame] | 68 | nodePort: {{ .Values.nodePortPrefix }}92 |
liangke | c586180 | 2017-09-12 15:41:20 +0800 | [diff] [blame] | 69 | selector: |
| 70 | app: multicloud-vio |
| 71 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 72 | #{{ end }} |
| 73 | #{{ if not .Values.disableMulticloudMulticloudOcata }} |
Bin Yang | 0b2158e | 2017-09-26 07:21:57 +0800 | [diff] [blame] | 74 | --- |
| 75 | apiVersion: v1 |
| 76 | kind: Service |
| 77 | metadata: |
| 78 | name: multicloud-ocata |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 79 | namespace: "{{ .Values.nsPrefix }}" |
Bin Yang | 0b2158e | 2017-09-26 07:21:57 +0800 | [diff] [blame] | 80 | labels: |
| 81 | name: multicloud-ocata |
| 82 | annotations: |
| 83 | msb.onap.org/service-info: '[ |
| 84 | { |
| 85 | "serviceName": "multicloud-ocata", |
| 86 | "version": "v0", |
| 87 | "url": "/api/multicloud-ocata/v0", |
| 88 | "protocol": "REST", |
| 89 | "port": "9006", |
| 90 | "visualRange": "1" |
| 91 | } |
| 92 | ]' |
| 93 | |
| 94 | spec: |
| 95 | ports: |
| 96 | - name: "multicloud-port" |
| 97 | port: 9006 |
| 98 | nodePort: {{ .Values.nodePortPrefix }}93 |
| 99 | selector: |
| 100 | app: multicloud-ocata |
| 101 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 102 | #{{ end }} |
| 103 | #{{ if not .Values.disableMulticloudMulticloudWindriver }} |
Bin Yang | 0b2158e | 2017-09-26 07:21:57 +0800 | [diff] [blame] | 104 | --- |
| 105 | apiVersion: v1 |
| 106 | kind: Service |
| 107 | metadata: |
| 108 | name: multicloud-windriver |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 109 | namespace: "{{ .Values.nsPrefix }}" |
Bin Yang | 0b2158e | 2017-09-26 07:21:57 +0800 | [diff] [blame] | 110 | labels: |
| 111 | name: multicloud-windriver |
| 112 | annotations: |
| 113 | msb.onap.org/service-info: '[ |
| 114 | { |
| 115 | "serviceName": "multicloud-titanium_cloud", |
| 116 | "version": "v0", |
| 117 | "url": "/api/multicloud-titanium_cloud/v0", |
| 118 | "protocol": "REST", |
| 119 | "port": "9005", |
| 120 | "visualRange": "1" |
| 121 | } |
| 122 | ]' |
| 123 | |
| 124 | spec: |
| 125 | ports: |
| 126 | - name: "multicloud-port" |
| 127 | port: 9005 |
| 128 | nodePort: {{ .Values.nodePortPrefix }}94 |
| 129 | selector: |
| 130 | app: multicloud-windriver |
| 131 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 132 | #{{ end }} |