yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableMsbMsbConsul }} |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: msb-consul |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 7 | labels: |
| 8 | app: msb-consul |
| 9 | spec: |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 10 | ports: |
HuabingZhao | 4ea0655 | 2017-08-29 15:30:10 +0800 | [diff] [blame] | 11 | - port: {{ .Values.consulPort }} |
HuabingZhao | 77d44cd | 2017-08-30 09:30:03 +0800 | [diff] [blame] | 12 | nodePort: {{ .Values.consulNodePort }} |
HuabingZhao | f2a9f56 | 2017-08-26 11:49:59 +0800 | [diff] [blame] | 13 | selector: |
| 14 | app: msb-consul |
HuabingZhao | c2b4fcf | 2017-08-29 10:48:25 +0800 | [diff] [blame] | 15 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disableMsbMsbDiscovery }} |
HuabingZhao | c2b4fcf | 2017-08-29 10:48:25 +0800 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: msb-discovery |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 23 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | c2b4fcf | 2017-08-29 10:48:25 +0800 | [diff] [blame] | 24 | labels: |
| 25 | app: msb-discovery |
| 26 | spec: |
| 27 | clusterIP: "{{ .Values.discoveryClusterIP }}" |
| 28 | ports: |
| 29 | - port: {{ .Values.discoveryPort }} |
| 30 | nodePort: {{ .Values.discoveryNodePort }} |
| 31 | selector: |
| 32 | app: msb-discovery |
HuabingZhao | 3469029 | 2017-08-30 13:42:11 +0800 | [diff] [blame] | 33 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 34 | #{{ end }} |
| 35 | #{{ if not .Values.disableMsbMsbIag }} |
HuabingZhao | 3469029 | 2017-08-30 13:42:11 +0800 | [diff] [blame] | 36 | --- |
| 37 | apiVersion: v1 |
| 38 | kind: Service |
| 39 | metadata: |
| 40 | name: msb-iag |
HuabingZhao | 3f1a25e | 2017-09-02 14:45:28 +0800 | [diff] [blame] | 41 | namespace: "{{ .Values.nsPrefix }}-msb" |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 42 | labels: |
| 43 | app: msb-iag |
| 44 | spec: |
| 45 | ports: |
HuabingZhao | d142adb | 2018-02-28 16:13:59 +0800 | [diff] [blame^] | 46 | - name: http |
| 47 | port: {{ .Values.iagPort }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 48 | nodePort: {{ .Values.iagNodePort }} |
HuabingZhao | d142adb | 2018-02-28 16:13:59 +0800 | [diff] [blame^] | 49 | - name: https |
| 50 | port: {{ .Values.iagPort_https }} |
| 51 | nodePort: {{ .Values.iagNodePort_https }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 52 | selector: |
| 53 | app: msb-iag |
| 54 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 55 | #{{ end }} |
| 56 | #{{ if not .Values.disableMsbMsbEag }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 57 | --- |
| 58 | apiVersion: v1 |
| 59 | kind: Service |
| 60 | metadata: |
| 61 | name: msb-eag |
| 62 | namespace: "{{ .Values.nsPrefix }}-msb" |
| 63 | labels: |
| 64 | app: msb-eag |
| 65 | spec: |
| 66 | ports: |
HuabingZhao | d142adb | 2018-02-28 16:13:59 +0800 | [diff] [blame^] | 67 | - name: http |
| 68 | port: {{ .Values.eagPort }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 69 | nodePort: {{ .Values.eagNodePort }} |
HuabingZhao | d142adb | 2018-02-28 16:13:59 +0800 | [diff] [blame^] | 70 | - name: https |
| 71 | port: {{ .Values.eagPort_https }} |
| 72 | nodePort: {{ .Values.eagNodePort_https }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 73 | selector: |
| 74 | app: msb-eag |
| 75 | type: NodePort |
HuabingZhao | d142adb | 2018-02-28 16:13:59 +0800 | [diff] [blame^] | 76 | #{{ end }} |