fix: render extra RBAC rules without extra indentation#591
Conversation
serviceAccount.rbac.extra is expected to provide RBAC rule list items aligned under rules. The template added nindent 2, over-indenting those entries and producing invalid or misplaced YAML. Render the provided YAML directly so extra rules align with the rest of the rule list.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR removes the ChangesRBAC Template Indentation
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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 |
serviceAccount.rbac.extra entries are already expected to render as RBAC rule list items.
The template applied nindent 2, which over-indented the extra rules under rules: and produced invalid or misplaced YAML. Render the provided YAML directly so extra RBAC rules align with the rest of the rule list.
Summary by CodeRabbit