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

Hot reload of customGroups not working #91

Closed
vigohe opened this issue Nov 22, 2021 · 0 comments · Fixed by #92
Closed

Hot reload of customGroups not working #91

vigohe opened this issue Nov 22, 2021 · 0 comments · Fixed by #92

Comments

@vigohe
Copy link
Contributor

vigohe commented Nov 22, 2021

Describe the bug

When you change the ConfigMap jwt-to-rbac at the level of customGroups at runtime, this changes doesn't applied.

This is because this conditions will be always nil because ClusterRole or ClusterRoleBinding already exists.

if err := rh.getAndCheckCRoleBinding(crb.name); err == nil {
return nil
}

if err := rh.getAndCheckCRole(cr.name); err == nil {
return nil
}

Steps to reproduce the issue:
Change something at customGroups level

Expected behavior

When someone change something at customGroups the ClusterRole & ClusterRoleBinding changes should be reflected

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 a pull request may close this issue.

1 participant