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: use cloned krms for user impersonation #178

Merged
merged 4 commits into from
Apr 15, 2021
Merged

fix: use cloned krms for user impersonation #178

merged 4 commits into from
Apr 15, 2021

Conversation

alewitt2
Copy link
Member

now that we are adding extra data to KRMs like impersonated users, we need the krms to be unique per CRD event to avoid conflict bewtween different CRD instances. (ie. if there are 2 remoteresource objects, but only one of them has user impersonation defined, they will both use the one defined user. I havent tested it, but i assume if they both have users defined, there is a race condition on which user will be impersonated).

@alewitt2 alewitt2 linked an issue Apr 15, 2021 that may be closed by this pull request
@alewitt2 alewitt2 merged commit d662e68 into master Apr 15, 2021
@alewitt2 alewitt2 deleted the krm-clone branch April 15, 2021 19:59
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.

KRMs share state in controller
2 participants