Skip to content

clkao/kubesudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

kubesudo

Run kubectl command as a service account.

This is useful for testing rbac roles bound to service accounts.

Usage

kubesudo kube-system:default get pod -n kube-system

No resources found.
Error from server (Forbidden): pods is forbidden: User "system:serviceaccount:kube-system:default" cannot list pods in the namespace "kube-system"

License

MIT: https://clkao.mit-license.org/

About

⎈ run kubectl as service account

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages