Which Kubernetes object is used to grant permissions to a cluster-wide resource?
In Kubernetes RBAC, ClusterRoleBinding is the mechanism for granting permissions to resources that are not namespace-scoped. The documentation integrated into VCF 9.0 explains: ''ClusterRoleBinding binds a user, group, or service account to a ClusterRole, granting cluster-wide permissions to non-namespaced resources such as nodes, storage classes, or persistent volumes.''
A RoleBinding grants access to namespace-scoped resources. RoleReference is a field within a RoleBinding/ClusterRoleBinding object, not a standalone object. ClusterRoleAccess is not a valid Kubernetes construct.
Thus, to assign permissions at a cluster-wide level, the correct object is ClusterRoleBinding.
Aide
9 hours agoLarue
6 days agoElliot
11 days agoRory
16 days agoGail
21 days agoCarlee
26 days agoDelmy
1 month agoHoney
1 month agoMerissa
1 month agoChantell
2 months agoCeola
2 months agoShasta
2 months agoKallie
2 months agoOzell
2 months agoMarleen
3 months agoChau
3 months agoYaeko
3 months agoTeri
3 months agoMargart
2 months ago