Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm ingress install fails on AKS due to RBAC #74

Closed
sjwaight opened this issue May 31, 2018 · 3 comments
Closed

Helm ingress install fails on AKS due to RBAC #74

sjwaight opened this issue May 31, 2018 · 3 comments

Comments

@sjwaight
Copy link

sjwaight commented May 31, 2018

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
@sjwaight sjwaight changed the title Helm ingress install fails - Helm ingress install fails on AKS due to RBAC May 31, 2018
@fredderf204
Copy link

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
Copy link

I added a pull request to this repo. Which repo is the 'main' one that issues and pull requests should be made on?

@sjwaight
Copy link
Author

Given age, I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants