fix: add roles/rolebindings permissions to RBAC manifest (PRI-550)

kubectl apply requires get/list/watch on roles/rolebindings to check
existing state before patching. Without these, apply fails with
Forbidden on the GET call itself.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-04 19:40:05 +00:00
committed by Gandalf the Greybeard [agent]
parent 3c55253e8d
commit 9b5734a5a2
+3
View File
@@ -12,6 +12,9 @@ metadata:
name: e2e-ci-runner
namespace: privilegedescalation-dev
rules:
- apiGroups: ["rbac.authorization.k8s.io"]
resources: ["roles", "rolebindings"]
verbs: ["get", "list", "watch", "create", "delete"]
- apiGroups: [""]
resources: ["configmaps", "serviceaccounts", "events"]
verbs: ["get", "list", "create", "delete"]