Browse Source
check calico ipv6 (#8738)
* check calico ipv6
* just check ipip mode for ipv6
pull/8745/head
Samuel Liu
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
11 additions and
0 deletions
-
roles/network_plugin/calico/defaults/main.yml
-
roles/network_plugin/calico/tasks/check.yml
|
|
@ -10,6 +10,7 @@ calico_ipv4pool_ipip: "Off" |
|
|
|
calico_ipip_mode: Never # 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_vxlan_mode_ipv6: Never |
|
|
|
calico_pool_blocksize_ipv6: 116 |
|
|
|
|
|
@ -173,3 +173,13 @@ |
|
|
|
- typha_enabled |
|
|
|
run_once: True |
|
|
|
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] }}" |