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

Explicitly ignore namespaced Roles #46

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

mkgrei
Copy link
Contributor

@mkgrei mkgrei commented Jun 5, 2023

Previously in #29 assumed that only ServiceAccount will show namespace Roles. Currently it is not possible for Group/User to show namespace scoped permissions.

In this PR, I removed the implicit assumption for the Subjects, instead added a flag --cluster-only/-c for skipping namespace scoped resources.

It become the user's responsibility to correctly add flags accordingly during execution.

fix #31

@mkgrei mkgrei marked this pull request as ready for review June 5, 2023 08:16
Copy link
Owner

@Ladicle Ladicle left a comment

Choose a reason for hiding this comment

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

thanks!

@Ladicle Ladicle merged commit 59f2455 into Ladicle:master Apr 18, 2024
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.

Missing RoleBinding for Group and User
2 participants