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

scanJobTimeout is not fully respected

bgoareguer opened this issue · comments

Using the starboard operator the scanJobTimeout parameter has a default value of 5m.

When using a slow internet connection, I tried to increase the scanJobTimeout to 10m so that Trivy can download the image before the timeout is reached.

But the scan job terminates before the 10m timeout.

In fact the scanJobTimeout is only used to define the activeDeadlineSeconds of the scan job, it does not configure the Trivy timeout (which is also set to 5m by default, see here)

The corresponding chunks of code in starboard are located here and here).

commented

@bgoareguer, thank you for this input, exposing TRIVY_TIMEOUT probably will solve this issue