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 RBAC recommendations for controllers #219

Merged
merged 2 commits into from May 3, 2022

Conversation

scothis
Copy link
Contributor

@scothis scothis commented May 3, 2022

The parent and child reconciler each make client requests based on the
resources being reconciled. We should give guidance to users as to what
RBAC permissions are required to effectively use the reconcilers.

The RBAC permissions are defined as kubebuilder annotations that can be
parsed and converted into a ClusterRole via controller-gen.

Resolves #217

The parent and child reconciler each make client requests based on the
resources being reconciled. We should give guidance to users as to what
RBAC permissions are required to effectively use the reconcilers.

The RBAC permissions are defined as kubebuilder annotations that can be
parsed and converted into a ClusterRole via controller-gen.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@codecov
Copy link

codecov bot commented May 3, 2022

Codecov Report

Merging #219 (81719e3) into main (288f389) will increase coverage by 4.58%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #219      +/-   ##
==========================================
+ Coverage   62.14%   66.72%   +4.58%     
==========================================
  Files           9        9              
  Lines         906     1136     +230     
==========================================
+ Hits          563      758     +195     
- Misses        325      354      +29     
- Partials       18       24       +6     
Impacted Files Coverage Δ
reconcilers/reconcilers.go 81.37% <0.00%> (+1.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 288f389...81719e3. Read the comment docs.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis scothis merged commit 3382f72 into vmware-labs:main May 3, 2022
@scothis scothis deleted the rbac-recomendations branch May 3, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document RBAC permissions for each reconciler
2 participants