kubespray/roles/network_plugin/calico/tasks
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
..
check.yml Replace kube-master with kube_control_plane (#7256) 2021-03-23 17:26:05 -07:00
install.yml Fix Calico's FelixConfiguration when "IP in IP" is disabled (#7926) 2021-08-31 13:14:21 -07:00
main.yml Calico wireguard (#7638) 2021-06-25 03:22:45 -07:00
pre.yml Calico wireguard (#7638) 2021-06-25 03:22:45 -07:00
repos.yml Calico wireguard (#7638) 2021-06-25 03:22:45 -07:00
reset.yml Only use stat get_checksum: yes when needed (#7270) 2021-02-10 05:36:59 -08:00
typha_certs.yml Generate TLS certs for calico typha (#5258) 2019-10-17 07:02:38 -07:00