Add missing roles to rbac kustomization#670
Conversation
WalkthroughRewrote Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@config/rbac/kustomization.yaml`:
- Around line 34-36: The kustomization.yaml contains duplicate resource entries
for bmcsettingsset_admin_role.yaml, bmcsettingsset_editor_role.yaml, and
bmcsettingsset_viewer_role.yaml (they appear twice); remove the second set of
duplicates so each of bmcsettingsset_admin_role.yaml,
bmcsettingsset_editor_role.yaml, and bmcsettingsset_viewer_role.yaml only
appears once in the resources list (keep the first occurrence and delete the
repeated entries), ensuring the resources block in kustomization.yaml no longer
contains duplicated filenames.
🧹 Nitpick comments (1)
config/rbac/kustomization.yaml (1)
21-24: Redundant scaffolding comment blocks and stale template placeholder.The same "Admin/Editor/Viewer" scaffolding comment is repeated three times (lines 21–24, 50–53, 58–61). Two of them still contain the un-rendered
{{ .ProjectName }}placeholder. Consider keeping a single comment block (using the concrete project name) above all the CRD role entries.Also applies to: 50-53, 58-61
0cb4e03 to
5faeeab
Compare
rbac kustomization
5faeeab to
9623744
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@config/rbac/kustomization.yaml`:
- Around line 25-69: The kustomization list is missing three RBAC role entries;
add bmcsettingsset_admin_role.yaml, bmcsettingsset_editor_role.yaml, and
bmcsettingsset_viewer_role.yaml into the resources block (the same list that
contains bmcsettings_admin_role.yaml and bmcsettings_viewer_role.yaml) and place
them in alphabetical order among the CRD role entries so they appear alongside
the other *_admin_role.yaml, *_editor_role.yaml, and *_viewer_role.yaml entries.
9623744 to
4bcd0c8
Compare
Proposed Changes
Some rbacs were not added to the customisation.yaml previously
Summary by CodeRabbit
New Features
Chores