aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/templates/all-services.yaml
blob: 7b23b368082c4957c2331a309633e098fe9d85a7 (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 }}-uui"
  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 }}-uui"
  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 }}