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

feat(api): add tenant funcs to retrieve subjects based on clusterrole bindings #1231

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

oliverbaehler
Copy link
Collaborator

… bindings

Found these functions to be very helpful when automating against capsule. For explenation:

With these functions we can get the subjects of a tenant (no difference in subject mapping if owner or in additionalRoleBindings) and their matching clusterRoles. This helps to translate or use tenant mapped roles to translate into other rbac implementations.

… bindings

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
Copy link

netlify bot commented Oct 23, 2024

Deploy Preview for capsule-documentation canceled.

Name Link
🔨 Latest commit 1fc777e
🔍 Latest deploy log https://app.netlify.com/sites/capsule-documentation/deploys/6718b6b06096ce0008d53b8d

Copy link
Member

@prometherion prometherion left a comment

Choose a reason for hiding this comment

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

Really helpful, LGTM!

@oliverbaehler oliverbaehler merged commit f82c2f4 into projectcapsule:main Oct 23, 2024
24 checks passed
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