mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-10-21 15:30:24 +00:00
CNIVersion fix for conflist
This change introduces two fix about CNIVersion. One is to add CNIVersion into delegated CNI conflist in case of DEL if CNIVersion is missing. ParseVersion() in libcni checks cniVersion as mandatory field and sometimes user/daemonset miss it. The latest flannel daemonset yaml (of flannel github) does not have CNIVersion, for example. This change adds CNIVersion from multus config if cniVersion is missing (empty) in delegated CNI config. In addition, this fix also adds '--cni-version' in entrypoint.sh to add cniVersion in multus config in case of '--multus-conf-file=auto'.
This commit is contained in:
committed by
Doug Smith
parent
f00ac9bfc8
commit
7a531b5f74
@@ -530,5 +530,7 @@ Used only with `--multus-conf-file=auto`. Allows you to specify an alternate pat
|
||||
|
||||
Used only with `--multus-conf-file=auto`. See the documentation for logging for which values are permitted.
|
||||
|
||||
Used only with `--multus-conf-file=auto`. Allows you to specify CNI spec version. Please set if you need to speicfy CNI spec version.
|
||||
|
||||
--cni-version=
|
||||
|
||||
|
Reference in New Issue
Block a user