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

RbacDefinition CRD Validation #99

Closed
thejosephstevens opened this issue Oct 30, 2019 · 2 comments
Closed

RbacDefinition CRD Validation #99

thejosephstevens opened this issue Oct 30, 2019 · 2 comments
Labels
enhancement Adding additional functionality or improvements help wanted Extra attention is needed stretch This is a stretch goal for a particular milestone

Comments

@thejosephstevens
Copy link

Hey all! About a month ago I ran into a bunch of issues configuring new RBACDefinitions, and it turned out I had some misunderstandings about how RBACDefinitions work (they create their own service accounts), and I was misconfiguring the Definition in certain ways (putting namespaces in the wrong fields, as indicated in issue #86 ).

It would be very helpful if these issues could be surfaced when the RBACDefinition is submitted rather than at runtime. Specifically, if it could check for the existence of a service account and validate that the roles it's looking for exist, that would be very helpful.

@sudermanjr sudermanjr added the enhancement Adding additional functionality or improvements label Nov 4, 2019
@sudermanjr
Copy link
Member

Thanks for the request!

While deeper validation of rbacdefinitions would be super nice, I believe that this would require the addition of a validating webhook admission controller for rbac-manager. This is a non-trivial effort and is unlikely to be implemented in our roadmap in the near future.

That being said, I believe we would be open to an external PR with this addition. @lucasreed , @mjhuber, or @robscott I would love to hear your thoughts on this as well.

@sudermanjr sudermanjr added the help wanted Extra attention is needed label Nov 4, 2019
@sudermanjr sudermanjr added the stretch This is a stretch goal for a particular milestone label Nov 5, 2019
@sudermanjr
Copy link
Member

I have opened #103 to track this request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding additional functionality or improvements help wanted Extra attention is needed stretch This is a stretch goal for a particular milestone
Projects
None yet
Development

No branches or pull requests

2 participants