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.disableUuiUui }} |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
| 19 | labels: |
| 20 | app: uui |
| 21 | name: uui |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 22 | namespace: "{{ .Values.nsPrefix }}" |
HuabingZhao | 6666c37 | 2017-10-19 10:58:37 +0800 | [diff] [blame] | 23 | annotations: |
| 24 | msb.onap.org/service-info: '[ |
| 25 | { |
| 26 | "serviceName": "usecaseui-gui", |
| 27 | "version": "v1", |
Alexis de Talhouët | ac95d36 | 2018-03-05 07:47:40 -0500 | [diff] [blame] | 28 | "url": "/usecase-ui", |
| 29 | "path":"/iui/usecaseui", |
HuabingZhao | 6666c37 | 2017-10-19 10:58:37 +0800 | [diff] [blame] | 30 | "protocol": "UI" |
| 31 | "port": "8080", |
| 32 | "visualRange":"1|0" |
| 33 | } |
| 34 | ]' |
Dusan Rozman | 03aa27e | 2017-10-11 13:04:23 -0400 | [diff] [blame] | 35 | spec: |
| 36 | ports: |
| 37 | - name: uui |
| 38 | nodePort: {{ .Values.uuiPortPrefix }}98 |
| 39 | port: 8080 |
| 40 | selector: |
| 41 | app: uui |
| 42 | type: NodePort |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 43 | #{{ end }} |
| 44 | #{{ if not .Values.disableUuiServer }} |
| 45 | --- |
| 46 | apiVersion: v1 |
| 47 | kind: Service |
| 48 | metadata: |
| 49 | labels: |
| 50 | app: uui-server |
| 51 | name: uui-server |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 52 | namespace: "{{ .Values.nsPrefix }}" |
Alexis de Talhouët | fc97999 | 2017-11-28 15:47:31 -0500 | [diff] [blame] | 53 | annotations: |
| 54 | msb.onap.org/service-info: '[ |
| 55 | { |
| 56 | "serviceName": "usecaseui-server", |
| 57 | "version": "v1", |
| 58 | "url": "/api/usecaseui/server/v1", |
| 59 | "protocol": "UI" |
| 60 | "port": "8080", |
| 61 | "visualRange":"1|0" |
| 62 | } |
| 63 | ]' |
| 64 | spec: |
| 65 | ports: |
| 66 | - name: uui-server |
| 67 | nodePort: {{ .Values.uuiPortPrefix }}99 |
| 68 | port: 8082 |
| 69 | selector: |
| 70 | app: uui-server |
| 71 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 72 | #{{ end }} |