mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
Fix env variable for github token (#796)
Fixes #795 Signed-off-by: Christian Zunker <christian.zunker@codecentric.cloud>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: trivy
|
name: trivy
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
appVersion: "0.15.0"
|
appVersion: "0.15.0"
|
||||||
description: Trivy helm chart
|
description: Trivy helm chart
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ The following table lists the configurable parameters of the Trivy chart and the
|
|||||||
| `image.pullSecret` | The name of an imagePullSecret used to pull trivy image from e.g. Docker Hub or a private registry | |
|
| `image.pullSecret` | The name of an imagePullSecret used to pull trivy image from e.g. Docker Hub or a private registry | |
|
||||||
| `replicaCount` | Number of Trivy Pods to run | `1` |
|
| `replicaCount` | Number of Trivy Pods to run | `1` |
|
||||||
| `trivy.debugMode` | The flag to enable or disable Trivy debug mode | `false` |
|
| `trivy.debugMode` | The flag to enable or disable Trivy debug mode | `false` |
|
||||||
| `trivy.gitHubToken` | The GitHub access token to download Trivy DB | |
|
| `trivy.gitHubToken` | The GitHub access token to download Trivy DB. More info: https://github.com/aquasecurity/trivy#github-rate-limiting | |
|
||||||
| `trivy.skipUpdate` | The flag to enable or disable Trivy DB downloads from GitHub | `false` |
|
| `trivy.skipUpdate` | The flag to enable or disable Trivy DB downloads from GitHub | `false` |
|
||||||
| `trivy.cache.redis.enabled` | Enable Redis as caching backend | `false` |
|
| `trivy.cache.redis.enabled` | Enable Redis as caching backend | `false` |
|
||||||
| `trivy.cache.redis.url` | Specify redis connection url, e.g. redis://redis.redis.svc:6379 | `` |
|
| `trivy.cache.redis.url` | Specify redis connection url, e.g. redis://redis.redis.svc:6379 | `` |
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ spec:
|
|||||||
value: {{ .Values.trivy.debugMode | default false | quote }}
|
value: {{ .Values.trivy.debugMode | default false | quote }}
|
||||||
- name: "TRIVY_SKIP_UPDATE"
|
- name: "TRIVY_SKIP_UPDATE"
|
||||||
value: {{ .Values.trivy.skipUpdate | default false | quote }}
|
value: {{ .Values.trivy.skipUpdate | default false | quote }}
|
||||||
- name: "TRIVY_GITHUB_TOKEN"
|
- name: "GITHUB_TOKEN"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "trivy.fullname" . }}
|
name: {{ include "trivy.fullname" . }}
|
||||||
|
|||||||
Reference in New Issue
Block a user