Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fix some steps in README.md to install flux by helm #2532

Merged
merged 1 commit into from
Nov 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions chart/flux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,19 @@ to securely provide the HTTPS credentials which then can be used in the
- [GitHub](https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line)
- [GitLab](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#creating-a-personal-access-token)
- [BitBucket](https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html)

1. Create a secret with your `GIT_AUTHUSER` (the username the token belongs
to) and the `GIT_AUTHKEY` you created in the first step:

```sh
kubectl create secret generic flux-git-auth --from-literal=GIT_AUTHUSER=<username> --from-literal=GIT_AUTHKEY=<token>
kubectl create secret generic flux-git-auth --namespace flux --from-literal=GIT_AUTHUSER=<username> --from-literal=GIT_AUTHKEY=<token>
```

1. Install Flux:

```sh
helm install --name flux \
--set git.url='https://$(GIT_AUTHUSER):$(GIT_AUTHKEY)@github.com:fluxcd/flux-get-started.git' \
--set git.url='https://$(GIT_AUTHUSER):$(GIT_AUTHKEY)@github.com/fluxcd/flux-get-started.git' \
--set env.secretName=flux-git-auth \
--namespace flux \
fluxcd/flux
Expand Down Expand Up @@ -153,7 +153,7 @@ called `flux-ssh-config` which in turn will be mounted into a volume named
--namespace flux \
fluxcd/flux
```

#### Connect Flux to a Weave Cloud instance

```sh
Expand Down