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

Fix RBAC rules for hostpath-storage #2881

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Fix RBAC rules for hostpath-storage #2881

merged 1 commit into from
Jan 26, 2022

Conversation

neoaggelos
Copy link
Contributor

Summary

Hostpath provisioner needs RBAC rules for endpoint/microk8s.io-hostpath.

Notes

From logs:

....
E0126 18:07:48.251277       1 leaderelection.go:330] error retrieving resource lock kube-system/microk8s.io-hostpath: endpoints "microk8s.io-hostpath" is forbidden: User "system:serviceaccount:kube-system:microk8s-hostpath" cannot get resource "endpoints" in API group "" in the namespace "kube-system"
....
E0126 18:09:48.350001       1 leaderelection.go:334] error initially creating leader election record: endpoints is forbidden: User "system:serviceaccount:kube-system:microk8s-hostpath" cannot create resource "endpoints" in API group "" in the namespace "kube-system"

Copy link
Contributor

@joedborg joedborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

2 participants