Grant RBAC for events in events.k8s.io API group#1490
Conversation
Recent k8s.io/* and controller-runtime versions wire up the new EventRecorder which writes to events.k8s.io/v1. Without this rule the apiserver rejects every event with: events.events.k8s.io "..." is forbidden: ... cannot patch resource "events" in API group "events.k8s.io" Signed-off-by: Felix Riegger <felix.riegger@sap.com>
|
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 (15)
📝 WalkthroughWalkthroughRBAC rules for the Changesevents.k8s.io RBAC group extension
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Recent k8s.io/* and controller-runtime versions wire up the new EventRecorder which writes to events.k8s.io/v1. Without this rule the apiserver rejects every event with:
events.events.k8s.io "..." is forbidden: ... cannot patch
resource "events" in API group "events.k8s.io"
Contributes to #1489
Summary by CodeRabbit