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