Get clusterRole which has define the specified resource
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
build.sh
go.mod
go.sum
kube-role-finder.go

README.md

kube-role-finder

Get clusterRole which has define the specified resource.

build

Just run the build.sh.

donwload

usage

find all clusterRole which has defined resource services

kube-role-finder -resource services

find all clusterRole which has defined resource apps/deployments

kube-role-finder -apiGroup apps -resource deployments

find all clusterRole which has defined resource apps/deployments with verb "delete"

kube-role-finder -apiGroup apps -resource deployments -verb