Browse Source

Add featureDetectOverride configration of calico (#9249)

pull/9254/head
lou-lan 2 years ago
committed by GitHub
parent
commit
133a7a0e1b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions
  1. 4
      roles/network_plugin/calico/defaults/main.yml
  2. 3
      roles/network_plugin/calico/tasks/install.yml

4
roles/network_plugin/calico/defaults/main.yml

@ -155,3 +155,7 @@ calico_ipam_maxblocksperhost: 0
# Calico apiserver (only with kdd) # Calico apiserver (only with kdd)
calico_apiserver_enabled: false calico_apiserver_enabled: false
# Calico feature detect override, set "ChecksumOffloadBroken=true" to
# solve the https://github.com/projectcalico/calico/issues/3145
calico_feature_detect_override: ""

3
roles/network_plugin/calico/tasks/install.yml

@ -187,7 +187,8 @@
"bpfExternalServiceMode": "{{ calico_bpf_service_mode }}", "bpfExternalServiceMode": "{{ calico_bpf_service_mode }}",
"wireguardEnabled": {{ calico_wireguard_enabled | bool }}, "wireguardEnabled": {{ calico_wireguard_enabled | bool }},
"logSeverityScreen": "{{ calico_felix_log_severity_screen }}", "logSeverityScreen": "{{ calico_felix_log_severity_screen }}",
"vxlanEnabled": {{ calico_vxlan_mode != 'Never' }}
"vxlanEnabled": {{ calico_vxlan_mode != 'Never' }},
"featureDetectOverride": "{{ calico_feature_detect_override }}"
} }
} }

Loading…
Cancel
Save