Sairam:
could someone pls tell me how to view all the available options in resources in clusterroles -> rules…?
kubectl explain command shows only little info -
root@controlplane:~# k explain clusterrole.rules --recursive
KIND: ClusterRole
VERSION: <http://rbac.authorization.k8s.io/v1|rbac.authorization.k8s.io/v1>
RESOURCE: rules <[]Object>
DESCRIPTION:
Rules holds all the PolicyRules for this ClusterRole
PolicyRule holds information that describes a policy rule, but does not
contain information about who the rule applies to or which namespace the
rule applies to.
FIELDS:
apiGroups <[]string>
nonResourceURLs <[]string>
resourceNames <[]string>
resources <[]string>
verbs <[]string>
root@controlplane:~#