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

add manager field to simplify multi service management #292

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

mikemrm
Copy link
Contributor

@mikemrm mikemrm commented Oct 2, 2024

This adds a manager field to roles and role bindings allowing services to mark the manager of a specific role / role binding.

This allows the managing service to easily filter out unmanaged roles / role bindings which it does not own which allows for cleaner logic for reconciling roles/role bindings.

Both roles and role binding create requests can provide an optional manager field and role / role binding list endpoints can now be provided an optional manager query value.

@mikemrm mikemrm marked this pull request as ready for review October 2, 2024 18:16
@mikemrm mikemrm requested review from a team as code owners October 2, 2024 18:16
This adds a manager field to roles and role bindings allowing services
to mark the manager of a specific role / role binding.

This allows the managing service to easily filter out unmanaged roles / role bindings
which it does not own which allows for cleaner logic for reconciling roles/role bindings.

Both roles and role binding create requests can provide an optional `manager` field
and role / role binding list endpoints can now be provided an optional `manager` query value.

Signed-off-by: Mike Mason <[email protected]>
Copy link
Contributor

@bailinhe bailinhe left a comment

Choose a reason for hiding this comment

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

🚀

@mikemrm mikemrm merged commit 10238a4 into infratographer:main Oct 2, 2024
4 checks passed
@mikemrm mikemrm deleted the add-manager-keys branch October 2, 2024 18:29
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