[Verse 1] When you need to see the power that's spread across your cluster wide There's a command that shows you everything, no secrets left to hide Kubectl get clusterroles will list them all for you Global permissions that affect the whole system through and through [Chorus] Get cluster get roles, that's the way to go Clusterroles are global, roles are local though Dash capital A shows all namespaces clear View your RBAC structure, make your access appear [Verse 2] But when you want the namespaced roles, the ones that stay confined You'll need a different approach to see what's been designed Kubectl get roles will show you just one space Add dash capital A to see them every place [Chorus] Get cluster get roles, that's the way to go Clusterroles are global, roles are local though Dash capital A shows all namespaces clear View your RBAC structure, make your access appear [Bridge] Cluster roles reach everywhere, no boundaries they know Regular roles stay put inside their namespace home Security and access rights, now you can see them all From the smallest local scope to cluster-wide install [Verse 3] Now you've got the power to inspect your access tree Clusterroles and roles displayed for all your eyes to see Management just got easier when you know where to look These kubectl commands are pages in your admin book [Chorus] Get cluster get roles, that's the way to go Clusterroles are global, roles are local though Dash capital A shows all namespaces clear View your RBAC structure, make your access appear [Outro] From cluster-wide to namespace tight Your roles are now in sight Kubectl shows the way to go Now your access rights you know
← Create a role | Bind a role to a user or service account →