Skip to content

Commit 51d910e

Browse files
authored
Merge pull request #24004 from negz/patch-1
Clarify that bind verb does not require resourceNames
2 parents 3f4b883 + 2f9b5e1 commit 51d910e

File tree

1 file changed

+1
-0
lines changed
  • content/en/docs/reference/access-authn-authz

1 file changed

+1
-0
lines changed

content/en/docs/reference/access-authn-authz/rbac.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ rules:
891891
- apiGroups: ["rbac.authorization.k8s.io"]
892892
resources: ["clusterroles"]
893893
verbs: ["bind"]
894+
# omit resourceNames to allow binding any ClusterRole
894895
resourceNames: ["admin","edit","view"]
895896
---
896897
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)