diff --git a/pkg/rke2/rke2_linux.go b/pkg/rke2/rke2_linux.go index 2498d09d8a..d8927b760c 100644 --- a/pkg/rke2/rke2_linux.go +++ b/pkg/rke2/rke2_linux.go @@ -145,6 +145,7 @@ func initExecutor(clx *cli.Context, cfg Config, dataDir string, disableETCD bool KubeAPIServer: cfg.ExtraEnv.KubeAPIServer.Value(), KubeScheduler: cfg.ExtraEnv.KubeScheduler.Value(), KubeControllerManager: cfg.ExtraEnv.KubeControllerManager.Value(), + KubeProxy: cfg.ExtraEnv.KubeProxy.Value(), Etcd: cfg.ExtraEnv.Etcd.Value(), CloudControllerManager: cfg.ExtraEnv.CloudControllerManager.Value(), } @@ -153,6 +154,7 @@ func initExecutor(clx *cli.Context, cfg Config, dataDir string, disableETCD bool KubeAPIServer: cfg.ExtraMounts.KubeAPIServer.Value(), KubeScheduler: cfg.ExtraMounts.KubeScheduler.Value(), KubeControllerManager: cfg.ExtraMounts.KubeControllerManager.Value(), + KubeProxy: cfg.ExtraMounts.KubeProxy.Value(), Etcd: cfg.ExtraMounts.Etcd.Value(), CloudControllerManager: cfg.ExtraMounts.CloudControllerManager.Value(), }