Helm ingress install fails on AKS due to RBAC
sjwaight opened this issue · 3 comments
sjwaight commented
The command
helm install stable/nginx-ingress --name ingress --namespace kube-system
Fails when being deployed to AKS (k8s 1.9.6) due to RBAC.
Error: release ingress failed: clusterroles.rbac.authorization.k8s.io "ingress-nginx-ingress" is forbidden: attempt to grant extra privileges....
Work around in the meantime is to install nginx the old fashioned way.
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/cloud-generic.yaml
fredderf204 commented
Hi @sjwaight , I was also able to work around the issue with this command
helm install stable/nginx-ingress --name ingress --namespace kube-system --set rbac.create=false --set rbac.createRole=false --set rbac.createClusterRole=false
mdavis-xyz commented
I added a pull request to this repo. Which repo is the 'main' one that issues and pull requests should be made on?
sjwaight commented
Given age, I am closing this issue.