Merge "Draft Cloudify blueprint for provisioning ONAP"
[oom.git] / kubernetes / msb / templates / all-services.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: msb-consul
5   labels:
6     app: msb-consul
7 spec:
8   clusterIP: "{{ .Values.consulClusterIP }}"
9   ports:
10     - port: {{ .Values.consulPort }}
11       nodePort: "{{ .Values.consulNodePort }}"
12   selector:
13     app: msb-consul
14   type: NodePort
15 ---
16 apiVersion: v1
17 kind: Service
18 metadata:
19   name: msb-discovery
20   labels:
21     app: msb-discovery
22 spec:
23   clusterIP: "{{ .Values.discoveryClusterIP }}"
24   ports:
25     - port: {{ .Values.discoveryPort }}
26       nodePort: {{ .Values.discoveryNodePort }}
27   selector:
28     app: msb-discovery
29   type: NodePort