Add install script to website
This commit is contained in:
4
.github/workflows/docs.yaml
vendored
4
.github/workflows/docs.yaml
vendored
@@ -11,7 +11,9 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout master
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Copy assets
|
||||
run: |
|
||||
cp install/tk.sh docs/install.sh
|
||||
- name: Deploy docs
|
||||
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
||||
env:
|
||||
|
||||
@@ -19,7 +19,7 @@ that can create repositories.
|
||||
To install the latest `tk` release run:
|
||||
|
||||
```bash
|
||||
curl -s https://raw.githubusercontent.com/fluxcd/toolkit/master/install/tk.sh | sudo bash
|
||||
curl -s https:/fluxcd.github.io/toolkit/install.sh | sudo bash
|
||||
```
|
||||
|
||||
The install script downloads the tk binary to `/usr/local/bin`.
|
||||
@@ -49,7 +49,11 @@ If the toolkit components are present on the cluster,
|
||||
the bootstrap command will perform an upgrade if needed.
|
||||
|
||||
```sh
|
||||
tk bootstrap github --owner=<your-github-username> --repository=<repo-name> --personal
|
||||
tk bootstrap github \
|
||||
--owner=<your-github-username> \
|
||||
--repository=<repo-name> \
|
||||
--path=dev-cluster \
|
||||
--personal
|
||||
```
|
||||
|
||||
If you wish to create the repository under a GitHub organization:
|
||||
@@ -60,7 +64,7 @@ tk bootstrap github \
|
||||
--repository=<repo-name> \
|
||||
--team=<team1-slug> \
|
||||
--team=<team2-slug> \
|
||||
--version=v0.0.1-beta.2
|
||||
--path=dev-cluster
|
||||
```
|
||||
|
||||
Example output:
|
||||
|
||||
Reference in New Issue
Block a user