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:
Sascha Grunert 2024-08-08 15:28:09 +02:00
parent 60c4c2b252
commit d850fb6756
No known key found for this signature in database
GPG Key ID: 09D97D153EF94D93

View File

@ -74,7 +74,6 @@ func addSwapCheck(checks []Checker) []Checker {
// addExecChecks adds checks that verify if certain binaries are in PATH
func addExecChecks(checks []Checker, execer utilsexec.Interface) []Checker {
checks = append(checks,
InPathCheck{executable: "crictl", mandatory: false, exec: execer},
InPathCheck{executable: "conntrack", mandatory: true, exec: execer},
InPathCheck{executable: "ip", mandatory: true, exec: execer},
InPathCheck{executable: "iptables", mandatory: true, exec: execer},