You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flux2/install
Hidde Beydals c7080d2834 Configure `project_name` for GoReleaser
This causes the format of the checksum file generated during the release
to change from `flux2_*_checksums.txt` to `flux_*_checksums.txt`.

The configuration change is made through `project_name` and not via the
`checksum.name_template` setting, because a single checksum file is
generated during the release process.

The download and/or installation script in `install/flux.sh` has been
adapted to assume the new filename starting with MINOR version `0.6.0`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
..
README.md Fix install script 4 years ago
flux.sh Configure `project_name` for GoReleaser 4 years ago

README.md

flux CLI Installation

Binaries for macOS and Linux AMD64 are available for download on the release page.

To install the latest release run:

curl -s https://raw.githubusercontent.com/fluxcd/flux2/main/install/flux.sh | sudo bash

The install script does the following:

  • attempts to detect your OS
  • downloads and unpacks the release tar file in a temporary directory
  • copies the flux binary to /usr/local/bin
  • removes the temporary directory

If you want to use flux as a kubectl plugin, rename the binary to kubectl-flux:

mv /usr/local/bin/flux /usr/local/bin/kubectl-flux

Build from source

Clone the repository:

git clone https://github.com/fluxcd/flux2
cd flux2

Build the flux binary (requires go >= 1.15):

make build

Run the binary:

./bin/flux -h