Skip to content

The operator permission advisor will statically read a catalog index image and determine an aggregated list of the permissions an Operator needs for an install (dynamic scanning coming soon).

License

Notifications You must be signed in to change notification settings

nathanbrophy/operator-permission-advisor

 
 

Repository files navigation

Operator Permission Advisor

Go Report

Operator Permissions Advisor is a CLI tool that will take a catalog image and statically parse it to determine what permissions an Operator will request of OLM during an install. The permissions are aggregated from the following sources:

  1. The CSV
  2. The manifests directory of each bundle in the desired install channel

This tool uses the standardized operator-registry actions library github.com/operator-framework/operator-registry/alpha/action to query the catalog.

Usage

./operator-permission-advisor static --help
Statically check the catalog for permission information

Usage:
  operator-permission-advisor static [flags]

Flags:
  -c, --catalog string       catalog source image repo
  -s, --channel string       channel to check for permissions in
  -R, --clusterRole string   location to save the aggregated clusterRole to (default "STDOUT")
  -h, --help                 help for static
  -o, --operator string      operator package to check for permissions in
  -r, --role string          location to save the aggregated role to (default "STDOUT")

About

The operator permission advisor will statically read a catalog index image and determine an aggregated list of the permissions an Operator needs for an install (dynamic scanning coming soon).

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.8%
  • Makefile 1.2%