mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
4aca21a1f1
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
20 lines
470 B
Go
20 lines
470 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package config
|
|
|
|
import (
|
|
"path/filepath"
|
|
|
|
"github.com/k3s-io/k3s/pkg/daemons/config"
|
|
)
|
|
|
|
func applyContainerdStateAndAddress(nodeConfig *config.Node) {
|
|
nodeConfig.Containerd.State = filepath.Join(nodeConfig.Containerd.Root, "state")
|
|
nodeConfig.Containerd.Address = "npipe:////./pipe/containerd-containerd"
|
|
}
|
|
|
|
func applyCRIDockerdAddress(nodeConfig *config.Node) {
|
|
nodeConfig.CRIDockerd.Address = "npipe:////.pipe/cri-dockerd"
|
|
}
|