Browse Source
[cherry-pick] Add configuration to create cilium CNI plugin file when cilium>=1.14.0 (#10966) (#10985)
pull/11213/head
Clement Phu
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
roles/network_plugin/cilium/templates/cilium/config.yml.j2
|
|
@ -71,7 +71,7 @@ data: |
|
|
|
|
|
|
|
{% if cilium_version | regex_replace('v') is version('1.14.0', '>=') %} |
|
|
|
# Tell the agent to generate and write a CNI configuration file |
|
|
|
write-cni-conf-when-ready: /etc/cni/net.d/05-cilium.conflist |
|
|
|
write-cni-conf-when-ready: /host/etc/cni/net.d/05-cilium.conflist |
|
|
|
cni-exclusive: "{{ cilium_cni_exclusive }}" |
|
|
|
cni-log-file: "{{ cilium_cni_log_file }}" |
|
|
|
{% endif %} |
|
|
|