From 4396511e43a4f7a34196129569430509209bd25b Mon Sep 17 00:00:00 2001 From: carlory Date: Fri, 20 Dec 2024 11:28:24 +0800 Subject: [PATCH] kubeadm: removed preflight check for `touch` on Linux nodes. Signed-off-by: carlory --- cmd/kubeadm/app/preflight/checks_linux.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/kubeadm/app/preflight/checks_linux.go b/cmd/kubeadm/app/preflight/checks_linux.go index d8ad8b2016d..a4f7cfd4e70 100644 --- a/cmd/kubeadm/app/preflight/checks_linux.go +++ b/cmd/kubeadm/app/preflight/checks_linux.go @@ -84,7 +84,6 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri checks = append(checks, InPathCheck{executable: "mount", mandatory: true, exec: execer}, - InPathCheck{executable: "nsenter", mandatory: true, exec: execer}, - InPathCheck{executable: "touch", mandatory: false, exec: execer}) + InPathCheck{executable: "nsenter", mandatory: true, exec: execer}) return checks }