aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/templates/all-services.yaml
blob: 173fc77ab4dce9d5a87b00b60aa3e9ee15d6ece4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#{{ if not .Values.disableUuiUui }}
apiVersion: v1
kind: Service
metadata:
  labels:
    app: uui
  name: uui
  namespace: "{{ .Values.nsPrefix }}"
  annotations:
    msb.onap.org/service-info: '[
      {
          "serviceName": "usecaseui-gui",
          "version": "v1",
          "url": "/iui/usecaseui",
          "protocol": "UI"
          "port": "8080",
          "visualRange":"1|0"
      }
      ]'
spec:
  ports:
  - name: uui
    nodePort: {{ .Values.uuiPortPrefix }}98
    port: 8080
  selector:
    app: uui
  type: NodePort
#{{ end }}
#{{ if not .Values.disableUuiServer }}
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: uui-server
  name: uui-server
  namespace: "{{ .Values.nsPrefix }}"
  annotations:
    msb.onap.org/service-info: '[
      {
          "serviceName": "usecaseui-server",
          "version": "v1",
          "url": "/api/usecaseui/server/v1",
          "protocol": "UI"
          "port": "8080",
          "visualRange":"1|0"
      }
      ]'
spec:
  ports:
  - name: uui-server
    nodePort: {{ .Values.uuiPortPrefix }}99
    port: 8082
  selector:
    app: uui-server
  type: NodePort
#{{ end }}