mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
kubeadm: don't warn if crictl
binary does not exist
kubeadm does not rely on `crictl` any more, so we can now drop the warning in 1.32 as outlined in: https://github.com/kubernetes/kubeadm/issues/3064 Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
parent
60c4c2b252
commit
d850fb6756
@ -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},
|
||||||
|
Loading…
Reference in New Issue
Block a user