rancher / aks-operator

Azure Kubernetes Service operator for Rancher
Apache License 2.0
9 stars 29 forks source link

Mirror trivy image for CI #708

Closed mjura closed 1 week ago

mjura commented 2 weeks ago

Currently our CI is failing quite often due to pull limits for "ghcr.io/aquasecurity/trivy-db:2"

2024-11-04T11:01:12Z    INFO    [vulndb] Downloading vulnerability DB...
117
2024-11-04T11:01:12Z    INFO    [vulndb] Downloading artifact...    repo="ghcr.io/aquasecurity/trivy-db:2"
118
2024-11-04T11:01:12Z    ERROR   [vulndb] Failed to download artifact    repo="ghcr.io/aquasecurity/trivy-db:2" err="OCI repository error: 1 error occurred:\n\t* GET https://ghcr.io/v2/aquasecurity/trivy-db/manifests/2: TOOMANYREQUESTS: retry-after: 1.115024ms, allowed: 44000/minute\n\n"
119
2024-11-04T11:01:12Z    FATAL   Fatal error init error: DB error: failed to download vulnerability DB: OCI artifact error: failed to download vulnerability DB: failed to download artifact from any source

We have to address this issue