1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Rename gotk binary to flux

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals
2020-10-29 14:37:07 +01:00
parent 9916a53761
commit e2752e4508
168 changed files with 767 additions and 887 deletions

View File

@@ -1,4 +1,4 @@
# GOTK CLI Installation
# flux CLI Installation
Binaries for macOS and Linux AMD64 are available for download on the
[release page](https://github.com/fluxcd/toolkit/releases).
@@ -6,19 +6,19 @@ Binaries for macOS and Linux AMD64 are available for download on the
To install the latest release run:
```bash
curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/install/gotk.sh | sudo bash
curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/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 gotk binary to `/usr/local/bin`
* copies the flux binary to `/usr/local/bin`
* removes the temporary directory
If you want to use gotk as a kubectl plugin, rename the binary to `kubectl-gotk`:
If you want to use flux as a kubectl plugin, rename the binary to `kubectl-flux`:
```sh
mv /usr/local/bin/gotk /usr/local/bin/kubectl-gotk
mv /usr/local/bin/flux /usr/local/bin/kubectl-flux
```
## Build from source
@@ -30,7 +30,7 @@ git clone https://github.com/fluxcd/toolkit
cd toolkit
```
Build the `gotk` binary (requires go >= 1.14):
Build the `flux` binary (requires go >= 1.14):
```bash
make build
@@ -39,5 +39,5 @@ make build
Run the binary:
```bash
./bin/gotk -h
./bin/flux -h
```