mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
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:
3
.changelog/10870.txt
Normal file
3
.changelog/10870.txt
Normal file
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user