- Home
- All questions
- Question 587
CKA study material · question 587 of 1000
You try to edit a RoleBinding to point at a different Role and the API server rejects it. What is the correct procedure?
Show the answer
Answer: A. Delete the binding and create a replacement
roleRef is immutable; changing which role a binding grants means deleting and recreating it, which forces a fresh decision about whether every existing subject should get the new role.
Source: Using RBAC Authorization (Kubernetes) — API objects › RoleBinding and ClusterRoleBinding