make mtu configurable

This commit is contained in:
Jesse Haka 2019-08-29 18:23:49 +03:00
parent a6f0d6fe90
commit 381557c912
1 changed files with 4 additions and 1 deletions

View File

@ -240,9 +240,12 @@ data:
# essential.
typha_service_name: "none"
# TODO: Do we want to configure this?
# Configure the MTU to use
{{- if .Networking.Calico.MTU }}
veth_mtu: "{{ .Networking.Calico.MTU }}"
{{- else }}
veth_mtu: "{{- if eq .CloudProvider "openstack" -}}1430{{- else -}}1440{{- end -}}"
{{- end }}
# Configure the Calico backend to use.
calico_backend: "bird"