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
You can now specify redis as caching as backend.
The default is still the filesystem.
In case redis is added as caching backend, the cache-dir is still
used for the vulnerability database.
Fixes#781
Signed-off-by: Christian Zunker <[email protected]>
Copy file name to clipboardExpand all lines: helm/trivy/README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,8 @@ The following table lists the configurable parameters of the Trivy chart and the
55
55
|`trivy.debugMode`| The flag to enable or disable Trivy debug mode |`false`|
56
56
|`trivy.gitHubToken`| The GitHub access token to download Trivy DB ||
57
57
|`trivy.skipUpdate`| The flag to enable or disable Trivy DB downloads from GitHub |`false`|
58
+
|`trivy.cache.redis.enabled`| Enable Redis as caching backend |`false`|
59
+
|`trivy.cache.redis.url`| Specify redis connection url, e.g. redis://redis.redis.svc:6379 | `` |
58
60
|`service.type`| Kubernetes service type |`ClusterIP`|
59
61
|`service.port`| Kubernetes service port |`4954`|
60
62
|`httpProxy`| The URL of the HTTP proxy server ||
@@ -74,4 +76,9 @@ $ helm install my-release . \
74
76
75
77
## Storage
76
78
77
-
This chart uses a PersistentVolumeClaim to reduce the number of database downloads between POD restarts or updates. The storageclass should have the reclaim policy `Retain`.
79
+
This chart uses a PersistentVolumeClaim to reduce the number of database downloads between POD restarts or updates. The storageclass should have the reclaim policy `Retain`.
80
+
81
+
## Caching
82
+
83
+
You can specify a Redis server as cache backend. This Redis server has to be already present. You can use the [bitname chart](https://bitnami.com/stack/redis/helm).
84
+
More Information about the caching backends can be found [here](https://github.com/aquasecurity/trivy#specify-cache-backend).
0 commit comments