@Tej_Singh_Rana @Mumshad Mannambeth @unnivkn @Hinodeya How to know all types of . . .

Malayamanas Panda:
@Tej_Singh_Rana @Mumshad Mannambeth @unnivkn @Hinodeya How to know all types of “resources” in a Role or ClusterRole , rules ?

“k explain” does not help !

[node1 ~]$ k explain ClusterRole.rules.resources --recursive
KIND: ClusterRole
VERSION: http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1

FIELD: resources <[]string>

DESCRIPTION:
Resources is a list of resources this rule applies to. ResourceAll
represents all resources.

Tej_Singh_Rana:
kubectl api-resources will help you in this case.

Malayamanas Panda:
Thanks !