Closed smarticu5 closed 2 years ago
:tada: Thanks for opening your first issue here! Welcome to the community!
Done via #8, use --local-dir <dir>
to run in offline mode. You can use utils/get_cluster_data.sh to get the data needed for an offline run
Is your feature request related to a problem?
rbac-police requires a connection to the Kubernetes cluster. This is not always possible in a locked down environment.
Describe the solution you'd like
Additional functionality which allows rbac-police to process local manifest files (either in .json or .yaml). I propose this could be added using a --local-file flag to the collect command.
Describe alternatives you've considered
My current alternative is to create a new test cluster and apply existing RBAC to that, which is not the most reliable of offerings as there are occasional conflicts between default resources and what I'm adding.
Additional context