blob: 8c6db304200d6898d2743ecab1d87cce4e4cd473 [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:
HuabingZhaod142adb2018-02-28 16:13:59 +080046 - name: http
47 port: {{ .Values.iagPort }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040048 nodePort: {{ .Values.iagNodePort }}
HuabingZhaod142adb2018-02-28 16:13:59 +080049 - name: https
50 port: {{ .Values.iagPort_https }}
51 nodePort: {{ .Values.iagNodePort_https }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040052 selector:
53 app: msb-iag
54 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030055#{{ end }}
56#{{ if not .Values.disableMsbMsbEag }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040057---
58apiVersion: v1
59kind: Service
60metadata:
61 name: msb-eag
62 namespace: "{{ .Values.nsPrefix }}-msb"
63 labels:
64 app: msb-eag
65spec:
66 ports:
HuabingZhaod142adb2018-02-28 16:13:59 +080067 - name: http
68 port: {{ .Values.eagPort }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040069 nodePort: {{ .Values.eagNodePort }}
HuabingZhaod142adb2018-02-28 16:13:59 +080070 - name: https
71 port: {{ .Values.eagPort_https }}
72 nodePort: {{ .Values.eagNodePort_https }}
HuabingZhao1ed45d92017-09-12 04:17:56 -040073 selector:
74 app: msb-eag
75 type: NodePort
HuabingZhaod142adb2018-02-28 16:13:59 +080076#{{ end }}