Skip to content

Commit 2d0f9a0

Browse files
author
Christian Zunker
committed
Fix env variable for github token
Fixes #795 Signed-off-by: Christian Zunker <[email protected]>
1 parent e2c483f commit 2d0f9a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

helm/trivy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: trivy
3-
version: 0.4.0
3+
version: 0.4.1
44
appVersion: "0.15.0"
55
description: Trivy helm chart
66
keywords:

helm/trivy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following table lists the configurable parameters of the Trivy chart and the
5454
| `image.pullSecret` | The name of an imagePullSecret used to pull trivy image from e.g. Docker Hub or a private registry | |
5555
| `replicaCount` | Number of Trivy Pods to run | `1` |
5656
| `trivy.debugMode` | The flag to enable or disable Trivy debug mode | `false` |
57-
| `trivy.gitHubToken` | The GitHub access token to download Trivy DB | |
57+
| `trivy.gitHubToken` | The GitHub access token to download Trivy DB. More info: https://github.com/aquasecurity/trivy#github-rate-limiting | |
5858
| `trivy.skipUpdate` | The flag to enable or disable Trivy DB downloads from GitHub | `false` |
5959
| `trivy.cache.redis.enabled` | Enable Redis as caching backend | `false` |
6060
| `trivy.cache.redis.url` | Specify redis connection url, e.g. redis://redis.redis.svc:6379 | `` |

helm/trivy/templates/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ spec:
6363
value: {{ .Values.trivy.debugMode | default false | quote }}
6464
- name: "TRIVY_SKIP_UPDATE"
6565
value: {{ .Values.trivy.skipUpdate | default false | quote }}
66-
- name: "TRIVY_GITHUB_TOKEN"
66+
- name: "GITHUB_TOKEN"
6767
valueFrom:
6868
secretKeyRef:
6969
name: {{ include "trivy.fullname" . }}

0 commit comments

Comments
 (0)