Fix env variable for github token (#796)

Fixes #795

Signed-off-by: Christian Zunker <christian.zunker@codecentric.cloud>
This commit is contained in:
Christian Zunker
2021-01-07 14:51:20 +01:00
committed by GitHub
parent 6ed25c19e6
commit 5b2786213a
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: trivy
version: 0.4.0
version: 0.4.1
appVersion: "0.15.0"
description: Trivy helm chart
keywords:

View File

@@ -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 | |
| `replicaCount` | Number of Trivy Pods to run | `1` |
| `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.cache.redis.enabled` | Enable Redis as caching backend | `false` |
| `trivy.cache.redis.url` | Specify redis connection url, e.g. redis://redis.redis.svc:6379 | `` |

View File

@@ -63,7 +63,7 @@ spec:
value: {{ .Values.trivy.debugMode | default false | quote }}
- name: "TRIVY_SKIP_UPDATE"
value: {{ .Values.trivy.skipUpdate | default false | quote }}
- name: "TRIVY_GITHUB_TOKEN"
- name: "GITHUB_TOKEN"
valueFrom:
secretKeyRef:
name: {{ include "trivy.fullname" . }}