From 50d5fa9e71d792ab45a1b8f68de9019dce01cab7 Mon Sep 17 00:00:00 2001 From: Tim Gross Date: Thu, 8 Jul 2021 09:22:05 -0400 Subject: [PATCH] cni: respect default `cni_config_dir` and `cni_path` 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. --- command/agent/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command/agent/config.go b/command/agent/config.go index 02fdb55880b4..687b3f03748e 100644 --- a/command/agent/config.go +++ b/command/agent/config.go @@ -935,6 +935,8 @@ func DefaultConfig() *Config { DisableSandbox: false, }, BindWildcardDefaultHostNetwork: true, + CNIPath: "/opt/cni/bin", + CNIConfigDir: "/opt/cni/config", }, Server: &ServerConfig{ Enabled: false,