Skip to content
Snippets Groups Projects
Unverified Commit 1294fd57 authored by Samuel Liu's avatar Samuel Liu Committed by GitHub
Browse files

check calico ipv6 (#8738)

* check calico ipv6

* just check ipip mode for ipv6
parent 835fd86a
Branches
Tags
No related merge requests found
...@@ -10,6 +10,7 @@ calico_ipv4pool_ipip: "Off" ...@@ -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 @@ ...@@ -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] }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment