-
Notifications
You must be signed in to change notification settings - Fork 423
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
How to update user's permissions immediately without manually delete pods #175
Comments
Hi @chrisduong , do you know what pods have to be deleted for the config change to take effect? Not all? |
Currently the authenticator server has to be restarted in order for it to reload the configuration. @christopherhein is working on a change that will allow the configmap information to be stored in custom resources and watched without restart. |
@christopherhein Any update on this? Also I would like to add that custom resources are overkill. |
Thanks for the feedback, this pr #116 was already merged into master, but I’d love to understand why you think it’s overkill? Given that this a mission critical component when is currently defined by a ConfigMap with a stringified yaml block it has a high risk for users misconfiguring it and breaking authentication but something as simple as a missed space, or an incorrect copy and paste. Being able to put this out of ConfigMaps gives us the ability to validate and properly mutate these values instead doing everything in-memory. It also gives us the ability to use the informer caches can make the controller more efficient vs marshaling and unmarshalling a stringifed yaml block. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/close |
@nckturner: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi,
After all pods are running, if I updated the Configmap with new user. It won't take effect immediately. I have to manual delete pods, so the server will restart with the new configurations.
I don't know if this is the only way to force update. Is there any other way to update user's permissions immediately. Thanks.
The text was updated successfully, but these errors were encountered: