using kubectl auth can-i to test for group and users permission

 

You can use the following command 

kubectl auth can-i list sa --group=my-group-id-name  --as=ef6982c9-ed49-4259-962b-488cffbca659 -A


or just to test a single user 

kubectl auth can-i list sa --as=ef6982c9-ed49-4259-962b-488cffbca659 -A


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm