Skip to content

Commit

Permalink
cni: respect default cni_config_dir and cni_path (#10870)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tgross authored Jul 8, 2021
1 parent 3f6ece5 commit b397edf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/10870.txt
Original file line number Diff line number Diff line change
@@ -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`
```
2 changes: 2 additions & 0 deletions command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,8 @@ func DefaultConfig() *Config {
DisableSandbox: false,
},
BindWildcardDefaultHostNetwork: true,
CNIPath: "/opt/cni/bin",
CNIConfigDir: "/opt/cni/config",
},
Server: &ServerConfig{
Enabled: false,
Expand Down

0 comments on commit b397edf

Please sign in to comment.