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