k3s/pkg/executor/embed/embed_linux.go
Brad Davidson 4fbd5c1ed4 Move embed into separate package from executor
Better isolates the K3s implementation from the interface, and aligns
the package path with other projects executors. This should also remove
the indirect flannel dep from other projects that don't use the embedded
executor.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit c3ca02aa75)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-12-09 23:48:42 -08:00

13 lines
293 B
Go

//go:build linux && !no_embedded_executor
// +build linux,!no_embedded_executor
package embed
import (
daemonconfig "github.com/k3s-io/k3s/pkg/daemons/config"
)
func platformKubeProxyArgs(nodeConfig *daemonconfig.Node) map[string]string {
argsMap := map[string]string{}
return argsMap
}