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

Ingress failing when RBAC enabled on edge #821

Closed
moredhel opened this issue Nov 22, 2019 · 3 comments
Closed

Ingress failing when RBAC enabled on edge #821

moredhel opened this issue Nov 22, 2019 · 3 comments
Labels

Comments

@moredhel
Copy link

Hi, I'm in the process of installing microk8s, it seems that the Role is misconfigured for the ingress controller on the --edge release.

I had to add the the following to get it working:

- apiGroups:
  - ""
  resources:
  - services
  - ingresses
  verbs:
  - get
  - list

Attached is the version info, installed using:

snap install microk8s --edge --classic

inspection-report-20191122_234153.tar.gz

Thanks for the awesome project!

@balchua
Copy link
Collaborator

balchua commented Nov 25, 2019

@moredhel I've been looking at the rbac, it does have ingress included.
https://github.com/ubuntu/microk8s/blob/797720e2d1e74030fc3d8df5d291469c6082aaac/microk8s-resources/actions/ingress.yaml#L47-L52

May i know what error you are getting? I also couldn't find any error reported by the apiserver.

@moredhel
Copy link
Author

Hi Balchua,

Thanks for the response.

I did get it working, (as mentioned above), but that was not present in the role definition that I was running with.

I've since patched it on my local instance, so don't have access to the logs.

The error was Nginx complaining about creating a ConfigMap for leader election.

The following issue describes what I experienced: kubernetes/ingress-nginx#798

Thanks

@stale
Copy link

stale bot commented Oct 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Oct 20, 2020
@stale stale bot closed this as completed Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants