Closed sempex closed 8 months ago
Hi @sempex Thank for the pr. Can you please add a test for this?
Hi @sempex Thank for the pr. Can you please add a test for this?
Sure will try to add one 👍
@yonahd I added my changes to the testcases
Attention: Patch coverage is 60.60606%
with 13 lines
in your changes are missing coverage. Please review.
Project coverage is 47.58%. Comparing base (
c421565
) to head (5b58559
).
Files | Patch % | Lines |
---|---|---|
pkg/kor/clusterroles.go | 55.17% | 8 Missing and 5 partials :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good! A couple small comments
Fixed it 🚀
Kubernetes Supports ClusterRole Aggregation, enabling the aggregation of one ClusterRole into another. For more details, refer to the official Kubernetes Documentation here.
This functionality allows a ClusterRole lacking a ClusterRoleBinding or a RoleBinding to remain usable. Currently, Kor does not handle this scenario. Consequently, the ClusterRoles in use are not properly listed through Kor. The proposed Pull Request addresses this issue.