docs(deploy): fix helm install command for helm v3 (#5020)

--name flag has been removed from helm and is now mandatory
 helm install [NAME] [CHART] [flags]
This commit is contained in:
Abdul Rauf 2020-02-07 04:47:28 +05:00 committed by GitHub
parent ac2ce11739
commit dbb0970393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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