Hi, I've created rolebinding with service account and a cluster role, but when i . . .

Mani:
Hi, I’ve created rolebinding with service account and a cluster role, but when i try to validate this with “kubectl auth can-i” it always gives No. Is it the expected behaviour, If we create role binding with serviceaccount? or am i doing something wrong. Pls clarify.
the command “kubectl auth can-i” gives Yes, if i bind the same cluster role with user though.

Deepak Ladwa:
@Mani check this:

https://community.kodekloud.com/t/hi-guys-when-i-create-a-service-account-and-test-its-permissions-without-associ/15020

Mani:
Thank you @Deepak Ladwa. got what i was looking for:raised_hands: