From 1589a772d588920ad3e020c371b954c0f6cac234 Mon Sep 17 00:00:00 2001 From: Abdul Rauf Date: Fri, 7 Feb 2020 04:47:28 +0500 Subject: [PATCH] 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] --- docs/deploy/index.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/deploy/index.md b/docs/deploy/index.md index a636357bb..fc99c39e5 100644 --- a/docs/deploy/index.md +++ b/docs/deploy/index.md @@ -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 ```