kubespray/roles/network_plugin
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
..
2021-07-20 01:29:31 -07:00
2021-07-12 00:00:47 -07:00
2021-06-28 02:13:25 -07:00
2020-11-30 06:48:50 -08:00
2021-01-19 08:35:48 -08:00