mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #901 from erikwilson/default-kubelet-dir
Use default kubelet directory
This commit is contained in:
commit
30c14a4db6
@ -348,7 +348,6 @@ func get(envInfo *cmds.Agent) (*config.Node, error) {
|
|||||||
nodeConfig.AgentConfig.KubeConfigNode = kubeconfigNode
|
nodeConfig.AgentConfig.KubeConfigNode = kubeconfigNode
|
||||||
nodeConfig.AgentConfig.KubeConfigKubelet = kubeconfigKubelet
|
nodeConfig.AgentConfig.KubeConfigKubelet = kubeconfigKubelet
|
||||||
nodeConfig.AgentConfig.KubeConfigKubeProxy = kubeconfigKubeproxy
|
nodeConfig.AgentConfig.KubeConfigKubeProxy = kubeconfigKubeproxy
|
||||||
nodeConfig.AgentConfig.RootDir = filepath.Join(envInfo.DataDir, "kubelet")
|
|
||||||
nodeConfig.AgentConfig.PauseImage = envInfo.PauseImage
|
nodeConfig.AgentConfig.PauseImage = envInfo.PauseImage
|
||||||
nodeConfig.AgentConfig.IPSECPSK = controlConfig.IPSECPSK
|
nodeConfig.AgentConfig.IPSECPSK = controlConfig.IPSECPSK
|
||||||
nodeConfig.AgentConfig.StrongSwanDir = filepath.Join(envInfo.DataDir, "strongswan")
|
nodeConfig.AgentConfig.StrongSwanDir = filepath.Join(envInfo.DataDir, "strongswan")
|
||||||
|
Loading…
Reference in New Issue
Block a user