Skip to content

Commit 646e7f0

Browse files
authored
Merge pull request kubernetes#129317 from carlory/kubeadm-touch
kubeadm: remove preflight check for `touch` on Linux nodes.
2 parents 9d82148 + 4396511 commit 646e7f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/kubeadm/app/preflight/checks_linux.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri
8484

8585
checks = append(checks,
8686
InPathCheck{executable: "mount", mandatory: true, exec: execer},
87-
InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
88-
InPathCheck{executable: "touch", mandatory: false, exec: execer})
87+
InPathCheck{executable: "nsenter", mandatory: true, exec: execer})
8988
return checks
9089
}

0 commit comments

Comments
 (0)