diff --git a/helm/trivy/Chart.yaml b/helm/trivy/Chart.yaml index 5c173e917b..c6aa5dc849 100644 --- a/helm/trivy/Chart.yaml +++ b/helm/trivy/Chart.yaml @@ -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: diff --git a/helm/trivy/README.md b/helm/trivy/README.md index ddeb4d01ee..5e6013a96f 100644 --- a/helm/trivy/README.md +++ b/helm/trivy/README.md @@ -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 | `` | diff --git a/helm/trivy/templates/statefulset.yaml b/helm/trivy/templates/statefulset.yaml index cdf16f4e27..36323a337c 100644 --- a/helm/trivy/templates/statefulset.yaml +++ b/helm/trivy/templates/statefulset.yaml @@ -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" . }}