How can I get a list of subresources that can be used in an RBAC role?
For example, I know that pods/exec
is a valid resource (discovered by searching SO actually), but I cannot figure out where this is officially mentioned.
kubectl api-resources
gives me pods
as a valid resource, but not pods/exec
.
I'm looking at the Kubernetes API website (https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/), but if that information is there, I'm unable to find it.
How are mere mortals like me supposed to find this information?