Update Trivy image and add errorcodes constants
What does this MR do?
- Update Trivy image to v0.48.0
- Exports constants with the exit codes to be used in the gitlab-agent
Why are we doing this?
In the gitlab-agent we were using a specific sha
from Trivy image v0.45.0
. This is required because we need the Trivy image that can pull private images. For that purpose we are updating to the latest Trivy image. Furthermore, we are exporting constants with the exit codes. We can use those in the gitlab-agent to reference to why the scanning pod has exited.
What are the relevant issue numbers?
OCS should not read logs but read configmaps in... (gitlab-org/gitlab#434315 - closed)
Edited by Nick Ilieskou