resourceName is not working as much expected

As am expected to restrict a particular resource in dashboard but if am mention resourceName its not worked and getting failed to show all the things that i have mentioned.am tried the way by using this link only
Using RBAC Authorization | Kubernetes
Anyone please let me know why its happen?

Hey @aravindh_veeramani ,
Paste the command and error screenshot.

In command line: -

--resource-name

In YAML file: -

resourceNames:

resorceNames only have mentioned but still its affect the role and couldnot displayed any.if am not mention this keyword the role working fine and displayed all the pod.And my concern is need to restrict partcular pod.

Not only pod if i mention any resourceNames it could be failed…
resourceNames:

  • ‘podname’
    or
    resourceNames:
  • podname
    or

resourceNames: