- Home
- All questions
- Question 599
CKA study material · question 599 of 1000
You have added a CustomResourceDefinition and want read access to it included in the built-in view role. What is the documented approach?
Show the answer
Answer: B. Create a ClusterRole labelled rbac.authorization.k8s.io/aggregate-to-view: "true"
The user-facing default roles use aggregation, so a labelled ClusterRole is absorbed into view; editing view directly would be overwritten by auto-reconciliation.
Source: Using RBAC Authorization (Kubernetes) — API objects › Aggregated ClusterRoles