k3s/pkg/agent/netpol/netpol_windows.go

10 lines
260 B
Go

package netpol
import (
"context"
daemonconfig "github.com/rancher/k3s/pkg/daemons/config"
)
func Run(ctx context.Context, nodeConfig *daemonconfig.Node) error{
panic("Netpol is not supported on windows ensure to pass --disable-network-policy")
}