You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently impossible to configure TMPDIR environment variable on trivy scan jobs. This would be useful for clusters where hosts have limited storage capacity and downloading large images to emptyDir would not be optimal. Configuring TMPDIR allows users to mount a volume of their choice on that location.
Another solution would be to allow users to override the /tmp emptyDir volume.
What steps did you take and what happened:
Installed trivy-operator via helm chart and found it is impossible to configure TMPDIR on trivy scan jobs.
What did you expect to happen:
Possible to configure TMPDIR
Environment:
Trivy-Operator version (use trivy-operator version): 0.29.0
Kubernetes version (use kubectl version): v1.32.7
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): Debian 12