From 566b4271c69cd007c5cdceb5babc618e05852295 Mon Sep 17 00:00:00 2001 From: dlouzado Date: Thu, 26 Sep 2024 15:12:05 -0300 Subject: [PATCH] add TRIVY_JAVA_DB_REPOSITORY to trivy configmap refs #2271 --- deploy/helm/Chart.yaml | 2 +- deploy/helm/templates/configmaps/trivy.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index 5098893c5..1632457fd 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.24.1 +version: 0.24.2 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/deploy/helm/templates/configmaps/trivy.yaml b/deploy/helm/templates/configmaps/trivy.yaml index 3af9786e3..498eee3f5 100644 --- a/deploy/helm/templates/configmaps/trivy.yaml +++ b/deploy/helm/templates/configmaps/trivy.yaml @@ -128,6 +128,7 @@ data: TRIVY_DEBUG: {{ .Values.trivy.debug | quote }} TRIVY_SKIP_DB_UPDATE: "false" TRIVY_DB_REPOSITORY: "{{ .Values.trivy.dbRegistry }}/{{ .Values.trivy.dbRepository }}" + TRIVY_JAVA_DB_REPOSITORY: "{{ .Values.trivy.javaDbRegistry }}/{{ .Values.trivy.javaDbRepository }}" TRIVY_INSECURE: "{{ .Values.operator.builtInServerRegistryInsecure }}" {{- end }} {{- end }}