Skip to content

bug(k8s): unable to initialize fs cache #9503

@afdesk

Description

@afdesk

Description

In Kubernetes mode, Trivy checks for vulnerabilities in all images by scanning them sequentially.
After introducing a timeout to the scan cache (#9307), this approach started causing errors.

Workaround

A user can disable (do not use) the cache:

$ trivy k8s --report=summary --scanners=vuln --cache-backend memory

Discussed in #9502

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions