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

Add install script to website

This commit is contained in:
stefanprodan
2020-06-19 14:31:23 +03:00
parent c1d7582461
commit 5074ff2889
2 changed files with 10 additions and 4 deletions

View File

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

View File

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