Skip to content

Commit

Permalink
cni: respect default cni_config_dir and cni_path
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 committed Jul 8, 2021
1 parent 60a92ff commit 50d5fa9
Showing 1 changed file with 2 additions and 0 deletions.
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 50d5fa9

Please sign in to comment.