cni: respect default `cni_config_dir` and `cni_path` (#10870)
The default agent configuration values were not set, which meant they were not being set in the client configuration and this results in fingerprints failing unless the values were set explicitly.
This commit is contained in:
parent
9f128a28ae
commit
8f25a9d7cd
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
cni: Fixed a bug where fingerprinting of CNI configuration failed with default `cni_config_dir` and `cni_path`
|
||||
```
|
|
@ -935,6 +935,8 @@ func DefaultConfig() *Config {
|
|||
DisableSandbox: false,
|
||||
},
|
||||
BindWildcardDefaultHostNetwork: true,
|
||||
CNIPath: "/opt/cni/bin",
|
||||
CNIConfigDir: "/opt/cni/config",
|
||||
},
|
||||
Server: &ServerConfig{
|
||||
Enabled: false,
|
||||
|
|
Loading…
Reference in New Issue