Hi Team, I created these 3 as per the requirement from the question, but when I . . .

Rohit Prakhar:
Hi Team,

I created these 3 as per the requirement from the question, but when I verify with k atuh can-i command… it says no - what am I missing?


Rohit Prakhar:

image.png

Md Imran Ahmad:
try this
k auth can-i list pod --as=system:serviceaccount:<namespace>:<service_account_name>

Rohit Prakhar:
–as=groupname shouls work for group or does that have something specific too?

Md Imran Ahmad:
Should work but name should be in format in which they are scooped