Study. uk . com
  1. Home
  2. All questions
  3. Question 598

CKA study material · question 598 of 1000

An aggregated ClusterRole has an aggregationRule and rules that an operator wrote by hand. What becomes of those hand-written rules?

  1. They are merged with the aggregated rules
  2. They take precedence over the aggregated ones
  3. They are overwritten by the control plane
  4. They cause the aggregationRule to be ignored
Show the answer

Answer: C. They are overwritten by the control plane

The control plane owns the rules field of an aggregated ClusterRole and fills it from the ClusterRoles matching the selector, overwriting anything set by hand; changes belong in the selected roles.

Source: Using RBAC Authorization (Kubernetes) — API objects › Aggregated ClusterRoles

Challenge yourself on this topic → Study as cards