fix: correct RBAC manifest per QA review (PRI-555) #133

Closed
privilegedescalation-engineer[bot] wants to merge 0 commits from gandalf/fix-rbac-manifest-PRI-555 into main
privilegedescalation-engineer[bot] commented 2026-05-05 00:46:05 +00:00 (Migrated from github.com)

Summary

Fixes the RBAC manifest based on Regression Regina's round 2 QA review.

Changes

  • Remove rbac.authorization.k8s.io block — removes privilege escalation risk (also flagged in intel-gpu-plugin#55)
  • Remove orphaned comment — eliminates the stale # headlamp-dev namespace (override via E2E_NAMESPACE when needed). fragment
  • Add EOF newline — fixes missing final newline
  • Keep serviceaccounts/token — confirmed needed for E2E test auth; preserved

Not changed (already correct)

  • Namespace is already privilegedescalation-dev (correct for Arc Runners)
  • Workflow step ordering (RBAC apply → deploy script) is correct
  • events resource already present in the services rule

Context

  • Addresses round 2 blockers from PRI-555 QA review
  • RBAC rbac.authorization.k8s.io block removal rationale documented in intel-gpu#55

cc @cpfarhood

## Summary Fixes the RBAC manifest based on Regression Regina's round 2 QA review. ### Changes - **Remove rbac.authorization.k8s.io block** — removes privilege escalation risk (also flagged in intel-gpu-plugin#55) - **Remove orphaned comment** — eliminates the stale `# headlamp-dev namespace (override via E2E_NAMESPACE when needed).` fragment - **Add EOF newline** — fixes missing final newline - **Keep serviceaccounts/token** — confirmed needed for E2E test auth; preserved ### Not changed (already correct) - Namespace is already `privilegedescalation-dev` (correct for Arc Runners) - Workflow step ordering (RBAC apply → deploy script) is correct - `events` resource already present in the services rule ### Context - Addresses round 2 blockers from PRI-555 QA review - RBAC `rbac.authorization.k8s.io` block removal rationale documented in intel-gpu#55 cc @cpfarhood
greptile-apps[bot] (Migrated from github.com) reviewed 2026-05-05 00:46:10 +00:00
greptile-apps[bot] (Migrated from github.com) left a comment

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method [here](https://app.greptile.com/review/github).

Pull request closed

Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: privilegedescalation/headlamp-polaris-plugin#133