From 39530921bec9e27b9d4584246977a729097f5591 Mon Sep 17 00:00:00 2001 From: Chris Kim <30601846+Oats87@users.noreply.github.com> Date: Fri, 13 Aug 2021 10:39:59 -0700 Subject: [PATCH] Add missing kubeproxy extra env and mounts (#1626) Signed-off-by: Chris Kim --- pkg/rke2/rke2_linux.go | 2 ++ 1 file changed, 2 insertions(+) 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(), }