Skip to content

Commit 2417fd2

Browse files
Fix e2e test RBAC: add bind/escalate verbs
Scoped ServiceAccount clients need `bind` and `escalate` verbs to create ClusterRoleBindings. The admin client previously used bypassed this RBAC requirement.
1 parent 2a2d85c commit 2417fd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/steps/testdata/rbac-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ rules:
5050
- roles
5151
- clusterrolebindings
5252
- rolebindings
53-
verbs: [ update, create, list, watch, get, delete, patch ]
53+
verbs: [ update, create, list, watch, get, delete, patch, bind, escalate ]
5454
- apiGroups: ["coordination.k8s.io"]
5555
resources: ["leases"]
5656
verbs: [ update, create, list, watch, get, delete, patch ]

0 commit comments

Comments
 (0)