- Home
- All questions
- Question 590
CKA study material · question 590 of 1000
A user has list on configmaps restricted by resourceNames to my-config, yet plain kubectl get configmaps is denied. What must they do?
Show the answer
Answer: B. Include a metadata.name field selector matching the permitted name
When list or watch is restricted by resourceNames, the client must send a matching metadata.name field selector for the request to be authorized.
Source: Using RBAC Authorization (Kubernetes) — Referring to resources