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: |
| 46 | - port: {{ .Values.iagPort }} |
| 47 | nodePort: {{ .Values.iagNodePort }} |
| 48 | selector: |
| 49 | app: msb-iag |
| 50 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 51 | #{{ end }} |
| 52 | #{{ if not .Values.disableMsbMsbEag }} |
HuabingZhao | 1ed45d9 | 2017-09-12 04:17:56 -0400 | [diff] [blame] | 53 | --- |
| 54 | apiVersion: v1 |
| 55 | kind: Service |
| 56 | metadata: |
| 57 | name: msb-eag |
| 58 | namespace: "{{ .Values.nsPrefix }}-msb" |
| 59 | labels: |
| 60 | app: msb-eag |
| 61 | spec: |
| 62 | ports: |
| 63 | - port: {{ .Values.eagPort }} |
| 64 | nodePort: {{ .Values.eagNodePort }} |
| 65 | selector: |
| 66 | app: msb-eag |
| 67 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 68 | #{{ end }} |