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