To avoid problems with noexec TMPDIR, upload the k0s binary directly to K0sBinaryPath() + ".tmp." + timestamp instead of using the tempdir given by mktemp.
Another option would be to keep uploading to TMPDIR but install it temporarily to a similar path.
Fixes #679
To avoid problems with
noexec
TMPDIR, upload the k0s binary directly toK0sBinaryPath() + ".tmp." + timestamp
instead of using the tempdir given bymktemp
.Another option would be to keep uploading to TMPDIR but install it temporarily to a similar path.