From c72ef62d2c532f6e47f38fac5980a0e35dfc5eb5 Mon Sep 17 00:00:00 2001 From: Erik Wilson Date: Tue, 15 Oct 2019 10:47:03 -0700 Subject: [PATCH] Use default kubelet directory --- pkg/agent/config/config.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/agent/config/config.go b/pkg/agent/config/config.go index 33b63db4e6..015450c97c 100644 --- a/pkg/agent/config/config.go +++ b/pkg/agent/config/config.go @@ -347,7 +347,6 @@ func get(envInfo *cmds.Agent) (*config.Node, error) { nodeConfig.AgentConfig.KubeConfigNode = kubeconfigNode nodeConfig.AgentConfig.KubeConfigKubelet = kubeconfigKubelet nodeConfig.AgentConfig.KubeConfigKubeProxy = kubeconfigKubeproxy - nodeConfig.AgentConfig.RootDir = filepath.Join(envInfo.DataDir, "kubelet") nodeConfig.AgentConfig.PauseImage = envInfo.PauseImage nodeConfig.AgentConfig.IPSECPSK = controlConfig.IPSECPSK nodeConfig.AgentConfig.StrongSwanDir = filepath.Join(envInfo.DataDir, "strongswan")