Mahesan G:
I’m working on lesson 6 topic 4 practice test I have created roles and rolebindings as per mentioned kubectl get pods also worked as expected pods are listing for dev-user but when I checked with kubectl auth can-i get pods --as dev-user it says no why it says like that even tried with --namespace=default got no as output, Kindly find the shapshot for your reference.
Manzil:
Hi @Mahesan G - The verb you’re using in the role developer is list & create. So it will only allow dev-user to list and create pods. To have get pods work you’ll need to edit role’s verb to --verb=get.
Mahesan G:
SI thought list and get are same.
Mahesan G:
I thought*
Manzil:
there is no such command as kubectl list pods
