Skip to content

Commit

Permalink
docs(deploy): fix helm install command for helm v3 (#5020)
Browse files Browse the repository at this point in the history
--name flag has been removed from helm and is now mandatory
 helm install [NAME] [CHART] [flags]
  • Loading branch information
armujahid authored Feb 6, 2020
1 parent ac2ce11 commit dbb0970
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/deploy/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,21 @@ NGINX Ingress controller can be installed via [Helm](https://helm.sh/) using the
To install the chart with the release name `my-nginx`:

```console
helm install stable/nginx-ingress --name my-nginx
helm install my-nginx stable/nginx-ingress
```

If the kubernetes cluster has RBAC enabled, then run:

```console
helm install my-nginx stable/nginx-ingress --set rbac.create=true
```

If you are using [Helm 2](https://v2.helm.sh/) then specify release name using `--name` flag

```console
helm install stable/nginx-ingress --name my-nginx
```
or
```console
helm install stable/nginx-ingress --name my-nginx --set rbac.create=true
```
Expand Down

0 comments on commit dbb0970

Please sign in to comment.