Add install script to website

pull/50/head
stefanprodan 5 years ago
parent c1d7582461
commit 5074ff2889

@ -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:

Loading…
Cancel
Save