fluxcd / flux2

Open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.
https://fluxcd.io
Apache License 2.0
6.35k stars 591 forks source link

Unable to install on prefixed environment #1856

Open chedim opened 2 years ago

chedim commented 2 years ago

Describe the bug

Unable to install Flux in Termux.

Steps to reproduce

ˋˋˋ curl -s https://fluxcd.io/install.sh | bash [INFO] Downloading metadata https://api.github.com/repos/fluxcd/flux2/releases/latest [INFO] Using 0.17.2 as release [INFO] Downloading hash https://github.com/fluxcd/flux2/releases/download/v0.17.2/flux_0.17.2_checksums.txt [INFO] Downloading binary https://github.com/fluxcd/flux2/releases/download/v0.17.2/flux_0.17.2_linux_arm64.tar.gz [INFO] Verifying binary download [INFO] Installing flux to /usr/local/bin/flux Command not found

ˋˋˋ

Expected behavior

Installation respects PREFIX envvar and works without sudo.

Screenshots and recordings

No response

OS / Distro

Termux @ Android 11

Flux version

N/A

Flux check

N/A

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

chedim commented 2 years ago

Manually downloading the binary and installing it into PATH works, btw.