mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #126596 from saschagrunert/checks
kubeadm: don't warn if `crictl` binary does not exist
This commit is contained in:
@@ -74,7 +74,6 @@ func addSwapCheck(checks []Checker) []Checker {
|
|||||||
// addExecChecks adds checks that verify if certain binaries are in PATH
|
// addExecChecks adds checks that verify if certain binaries are in PATH
|
||||||
func addExecChecks(checks []Checker, execer utilsexec.Interface) []Checker {
|
func addExecChecks(checks []Checker, execer utilsexec.Interface) []Checker {
|
||||||
checks = append(checks,
|
checks = append(checks,
|
||||||
InPathCheck{executable: "crictl", mandatory: false, exec: execer},
|
|
||||||
InPathCheck{executable: "conntrack", mandatory: true, exec: execer},
|
InPathCheck{executable: "conntrack", mandatory: true, exec: execer},
|
||||||
InPathCheck{executable: "ip", mandatory: true, exec: execer},
|
InPathCheck{executable: "ip", mandatory: true, exec: execer},
|
||||||
InPathCheck{executable: "iptables", mandatory: true, exec: execer},
|
InPathCheck{executable: "iptables", mandatory: true, exec: execer},
|
||||||
|
Reference in New Issue
Block a user