Add option to disable specific deployments
[oom.git] / kubernetes / uui / templates / all-services.yaml
1 #{{ if not .Values.disableUuiUui }}
2 apiVersion: v1
3 kind: Service
4 metadata:
5   labels:
6     app: uui
7   name: uui
8   namespace: "{{ .Values.nsPrefix }}-uui"
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       ]'
20 spec:
21   ports:
22   - name: uui
23     nodePort: {{ .Values.uuiPortPrefix }}98
24     port: 8080
25   selector:
26     app: uui
27   type: NodePort
28 #{{ end }}