c12s-kubespray/roles/network_plugin/calico
Olivier Lemasle 497d2ca306
Fix Calico's FelixConfiguration when "IP in IP" is disabled (#7926)
When using Calico with:

- `calico_network_backend: vxlan`,
- `calico_ipip_mode: "Never"`,
- `calico_vxlan_mode: "Always"`,

the `FelixConfiguration` object has `ipipEnabled: true`, when it should be false:

This is caused by an error in the `| bool` conversion in the install task:
when `calico_ipip_mode` is `Never`,
`{{ calico_ipip_mode != 'Never' | bool }}` evaluates to `true`:
2021-08-31 13:14:21 -07:00
..
defaults Calico wireguard (#7638) 2021-06-25 03:22:45 -07:00
files Raise delay and retry for rotate tokens (#5304) 2019-10-30 01:56:52 -07:00
handlers Add kube-ipvs0/nodelocaldns to NetworkManager unmanaged-devices (#7315) 2021-03-03 07:27:20 -08:00
rr Add retries to 'Set label for route reflector' task (#7645) 2021-05-27 12:02:23 -07:00
tasks Fix Calico's FelixConfiguration when "IP in IP" is disabled (#7926) 2021-08-31 13:14:21 -07:00
templates Calico: 3.20.0 policy update to allow access to endpointslices (#7899) 2021-08-25 12:06:01 -07:00
vars Calico wireguard (#7638) 2021-06-25 03:22:45 -07:00