Skip to content

Commit 73abfd4

Browse files
authored
Update Helm Operator install instructions
1 parent e1a778f commit 73abfd4

File tree

1 file changed

+10
-30
lines changed

1 file changed

+10
-30
lines changed

docs/prerequisites/README.md

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,13 @@ Make sure you have the following tools installed locally:
1212

1313
## Helm v3
1414

15-
Download the Helm v3 CLI:
15+
Install the Helm v3 CLI on macOS:
1616

1717
```sh
18-
OS=darwin-amd64 && \
19-
mkdir -p $HOME/.helm3/bin && \
20-
curl -sSL "https://get.helm.sh/helm-v3.0.0-${OS}.tar.gz" | tar xvz && \
21-
chmod +x ${OS}/helm && mv ${OS}/helm $HOME/.helm3/bin/helmv3
18+
brew install helm
2219
```
2320

24-
Add the helmv3 binary to your path and set Helm home:
25-
26-
```sh
27-
export PATH=$PATH:$HOME/.helm3/bin
28-
export HELM_HOME=$HOME/.helm3
29-
```
30-
31-
Verify the installation with:
32-
33-
```sh
34-
helmv3 version
35-
```
21+
On Linux or Windows you can download the binary from the [official releases page](https://github.com/helm/helm/releases).
3622

3723
## Git
3824

@@ -68,7 +54,7 @@ Cluster state directory structure:
6854
Add FluxCD repository to Helm repos:
6955

7056
```sh
71-
helmv3 repo add fluxcd https://charts.fluxcd.io
57+
helm repo add fluxcd https://charts.fluxcd.io
7258
```
7359

7460
Create the fluxcd namespace:
@@ -80,7 +66,7 @@ kubectl create ns fluxcd
8066
Install Flux by providing your GitHub repository URL:
8167

8268
```sh
83-
helmv3 upgrade -i flux fluxcd/flux --wait \
69+
helm upgrade -i flux fluxcd/flux --wait \
8470
--namespace fluxcd \
8571
--set registry.pollInterval=1m \
8672
--set git.pollInterval=1m \
@@ -115,24 +101,18 @@ paste the Flux public key and click `Add key`.
115101
Install the HelmRelease CRD:
116102

117103
```sh
118-
kubectl apply -f https://raw.githubusercontent.com/fluxcd/helm-operator/helm-v3-dev/deploy/flux-helm-release-crd.yaml
104+
kubectl apply -f https://raw.githubusercontent.com/fluxcd/helm-operator/master/deploy/flux-helm-release-crd.yaml
119105
```
120106

121107
Install Flux Helm Operator in the `fluxcd` namespace:
122108

123109
```sh
124-
helmv3 upgrade -i helm-operator fluxcd/helm-operator --wait \
110+
helm upgrade -i helm-operator fluxcd/helm-operator --wait \
125111
--namespace fluxcd \
126112
--set git.ssh.secretName=flux-git-deploy \
127113
--set git.pollInterval=1m \
128114
--set chartsSyncInterval=1m \
129-
--set configureRepositories.enable=true \
130-
--set configureRepositories.repositories[0].name=stable \
131-
--set configureRepositories.repositories[0].url=https://kubernetes-charts.storage.googleapis.com \
132-
--set extraEnvs[0].name=HELM_VERSION \
133-
--set extraEnvs[0].value=v3 \
134-
--set image.repository=docker.io/fluxcd/helm-operator-prerelease \
135-
--set image.tag=helm-v3-dev-0b11d9d0
115+
--set helm.versions=v3
136116
```
137117

138118
## Linkerd
@@ -165,7 +145,7 @@ linkerd check
165145
Add Flagger Helm repository:
166146

167147
```sh
168-
helmv3 repo add flagger https://flagger.app
148+
helm repo add flagger https://flagger.app
169149
```
170150

171151
Install Flagger's Canary CRD:
@@ -177,7 +157,7 @@ kubectl apply -f https://raw.githubusercontent.com/weaveworks/flagger/master/art
177157
Install Flagger in the `linkerd` namespace:
178158

179159
```sh
180-
helmv3 upgrade -i flagger flagger/flagger --wait \
160+
helm upgrade -i flagger flagger/flagger --wait \
181161
--namespace linkerd \
182162
--set crd.create=false \
183163
--set metricsServer=http://linkerd-prometheus:9090 \

0 commit comments

Comments
 (0)