Update the calico_veth_mtu setting to affect IP-in-IP users (#6419)
* Update calico_veth_mtu to FELIX_IPINIP variable calico_veth_mtu is specified in the configuration, but since it only works for wireguard, modify it to work for IP-in-IP users. * Update template with more cleaner expression
This commit is contained in:
parent
9c48f666ec
commit
b19f2e2d3d
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ spec:
|
||||||
# Set MTU for tunnel device used if ipip is enabled
|
# Set MTU for tunnel device used if ipip is enabled
|
||||||
{% if calico_mtu is defined %}
|
{% if calico_mtu is defined %}
|
||||||
- name: FELIX_IPINIPMTU
|
- name: FELIX_IPINIPMTU
|
||||||
value: "{{ calico_mtu }}"
|
value: "{{ calico_veth_mtu | default(calico_mtu) }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- name: FELIX_CHAININSERTMODE
|
- name: FELIX_CHAININSERTMODE
|
||||||
value: "{{ calico_felix_chaininsertmode }}"
|
value: "{{ calico_felix_chaininsertmode }}"
|
||||||
|
|
Loading…
Reference in a new issue