check calico ipv6 (#8738)
* check calico ipv6 * just check ipip mode for ipv6
This commit is contained in:
parent
835fd86a08
commit
1294fd5730
2 changed files with 11 additions and 0 deletions
|
@ -10,6 +10,7 @@ calico_ipv4pool_ipip: "Off"
|
||||||
calico_ipip_mode: Never # valid values are 'Always', 'Never' and 'CrossSubnet'
|
calico_ipip_mode: Never # valid values are 'Always', 'Never' and 'CrossSubnet'
|
||||||
calico_vxlan_mode: Always # valid values are 'Always', 'Never' and 'CrossSubnet'
|
calico_vxlan_mode: Always # valid values are 'Always', 'Never' and 'CrossSubnet'
|
||||||
|
|
||||||
|
# Calico doesn't support ipip tunneling for the IPv6.
|
||||||
calico_ipip_mode_ipv6: Never
|
calico_ipip_mode_ipv6: Never
|
||||||
calico_vxlan_mode_ipv6: Never
|
calico_vxlan_mode_ipv6: Never
|
||||||
calico_pool_blocksize_ipv6: 116
|
calico_pool_blocksize_ipv6: 116
|
||||||
|
|
|
@ -173,3 +173,13 @@
|
||||||
- typha_enabled
|
- typha_enabled
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||||
|
|
||||||
|
- name: "Check ipip mode is Nerver for calco ipv6"
|
||||||
|
assert:
|
||||||
|
that:
|
||||||
|
- "calico_ipip_mode_ipv6 in ['Never']"
|
||||||
|
msg: "Calico doesn't support ipip tunneling for the IPv6"
|
||||||
|
when:
|
||||||
|
- enable_dual_stack_networks
|
||||||
|
run_once: True
|
||||||
|
delegate_to: "{{ groups['kube_control_plane'][0] }}"
|
||||||
|
|
Loading…
Reference in a new issue