aquasecurity / starboard

Moved to https://github.com/aquasecurity/trivy-operator

Home Page:https://aquasecurity.github.io/starboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

automate resource installation within CLI

chen-keinan opened this issue · comments

commented

The motivation for this change is to simplify CLI experience amount of operations needed to be done to get scan results:

  • autodetect if resources have been installed when running the get, scan, and reports commands
    • if resources are not installed then install them and proceed with the command
    • if resources are installed then proceed with the command
  • need to make sure the resources are updated upon CLI upgrade
  • keep the install & uninstall command to have a proper cleanup and computability

Fixed by: #1066

Details:

Before this change, we needed to run the starboard install starboard install command before we used the scan or get commands.

After this change, we can use right away the scan and get commands without the need to run the install command, behind the scenes, the installation will happen as a Pre-command action for scan / get

Note: the starboard uninstall command will remain, as we still need a way to clean up starboard resources

For now, we will keep the starboard install command, (can be deprecated later if needed) but it will be removed from documentation to simplify the experience of CLI