We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52bd6b1 commit 9a94f2fCopy full SHA for 9a94f2f
pkg/apis/k0sctl.k0sproject.io/v1beta1/cluster/host.go
@@ -460,17 +460,7 @@ func (h *Host) NeedCurl() bool {
460
return false
461
}
462
463
- // Controllers always need curl
464
- if h.IsController() {
465
- return !h.Configurer.CommandExist(h, "curl")
466
- }
467
-
468
- // Workers only need curl if they're going to use the direct downloading
469
- if !h.UploadBinary {
470
471
472
473
- return false
+ return !h.Configurer.CommandExist(h, "curl")
474
475
476
// NeedIPTables returns true when the iptables package is needed on the host
0 commit comments