When creating a cluster role for specific resource type, where can I find the ac . . .

Tan Soon Sian:
When creating a cluster role for specific resource type, where can I find the actual name for each resource type to use for --resource= parameter? Is there a specific doc page that list the resource type name that I can use as the --resource= parameter?

V S Charan kumar Reddy Bakka:
@Tan Soon Sian, you mean the apiGroup? or --resourcename?

V S Charan kumar Reddy Bakka:
–resorce parametere is just like pods, replicasets etc

Tan Soon Sian:
@V S Charan kumar Reddy Bakka I am referring to the apiGroup, I assumed and not the resource name. For example if I want to use the -resource parameter for persistent volume, where can I can the proper name syntax like whether it should be --resource=PersistentVolume or --resource=persistentvolume or --resource=persistentvolumes