blob: 487347393d229f69ae577b7f9e48db947a37a1c5 [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableMsbMsbConsul }}
HuabingZhaof2a9f562017-08-26 11:49:59 +08002apiVersion: v1
3kind: Service
4metadata:
5 name: msb-consul
HuabingZhao3f1a25e2017-09-02 14:45:28 +08006 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaof2a9f562017-08-26 11:49:59 +08007 labels:
8 app: msb-consul
9spec:
HuabingZhaof2a9f562017-08-26 11:49:59 +080010 ports:
HuabingZhao4ea06552017-08-29 15:30:10 +080011 - port: {{ .Values.consulPort }}
HuabingZhao77d44cd2017-08-30 09:30:03 +080012 nodePort: {{ .Values.consulNodePort }}
HuabingZhaof2a9f562017-08-26 11:49:59 +080013 selector:
14 app: msb-consul
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080015 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableMsbMsbDiscovery }}
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: msb-discovery
HuabingZhao3f1a25e2017-09-02 14:45:28 +080023 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhaoc2b4fcf2017-08-29 10:48:25 +080024 labels:
25 app: msb-discovery
26spec:
27 clusterIP: "{{ .Values.discoveryClusterIP }}"
28 ports:
29 - port: {{ .Values.discoveryPort }}
30 nodePort: {{ .Values.discoveryNodePort }}
31 selector:
32 app: msb-discovery
HuabingZhao34690292017-08-30 13:42:11 +080033 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030034#{{ end }}
35#{{ if not .Values.disableMsbMsbIag }}
HuabingZhao34690292017-08-30 13:42:11 +080036---
37apiVersion: v1
38kind: Service
39metadata:
40 name: msb-iag
HuabingZhao3f1a25e2017-09-02 14:45:28 +080041 namespace: "{{ .Values.nsPrefix }}-msb"
HuabingZhao1ed45d92017-09-12 04:17:56 -040042 labels:
43 app: msb-iag
44spec:
45 ports:
46 - port: {{ .Values.iagPort }}
47 nodePort: {{ .Values.iagNodePort }}
48 selector:
49 app: msb-iag
50 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030051#{{ end }}
52#{{ if not .Values.disableMsbMsbEag }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040053---
54apiVersion: v1
55kind: Service
56metadata:
57 name: msb-eag
58 namespace: "{{ .Values.nsPrefix }}-msb"
59 labels:
60 app: msb-eag
61spec:
62 ports:
63 - port: {{ .Values.eagPort }}
64 nodePort: {{ .Values.eagNodePort }}
65 selector:
66 app: msb-eag
67 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030068#{{ end }}