Skip to content

Commit 95340f9

Browse files
authored
fix(registry-scanner): properly set vulnerability DB config (#1417)
1 parent c66a6ab commit 95340f9

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

charts/registry-scanner/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Sysdig Registry Scanner
44
type: application
55
home: https://sysdiglabs.github.io/registry-scanner/
66
icon: https://478h5m1yrfsa3bbe262u7muv-wpengine.netdna-ssl.com/wp-content/uploads/2019/02/Shovel_600px.png
7-
version: 1.1.11
7+
version: 1.1.12
88
appVersion: 0.2.50
99
maintainers:
1010
- name: giuse-sysdig

charts/registry-scanner/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ The following table lists the configurable parameters of the Sysdig Registry Sca
9191
| config.scan.jobs.resources.requests.cpu | The CPU request for the scanner job. | <code>500m</code> |
9292
| config.scan.jobs.resources.limits.memory | The memory limit for the scanner job. | <code>2Gi</code> |
9393
| config.scan.jobs.temporaryVolumeSizeLimit | The size limit for the emptyDir volume used by the scanner job.<br/> This volume is used to store both the vulnerability database and the image to scan. | <code>2Gi</code> |
94-
| config.useMainDbV2 | Enable vulnerability MainDB V2 | <code>false</code> |
9594
| config.parallelGoRoutines | Number of goroutines running in parallel in metadata phase for ECR Org setup. | <code>100</code> |
9695
| ssl.ca.certs | For outbound connections. <br/>List of PEM-encoded x509 certificate authority. | <code>[]</code> |
9796
| customLabels | The additional labels to add to CronJob and Scanning Jobs. The custom labels to be added to kubernetes manifests of all the resources created. | <code>{}</code> |

charts/registry-scanner/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ data:
102102
reportPath: /output/registry-scanner-{DATE}.json
103103
{{- end }}
104104
105-
useMainDbV2: {{ .Values.config.useMainDbV2 }}
105+
vulnerabilityDBVersion: {{ .Values.config.vulnerabilityDBVersion | default "v2" | quote }}

charts/registry-scanner/values.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ config:
103103
# The size limit for the emptyDir volume used by the scanner job.<br/>
104104
# This volume is used to store both the vulnerability database and the image to scan.
105105
temporaryVolumeSizeLimit: 2Gi
106-
# Enable vulnerability MainDB V2
107-
useMainDbV2: false
108106
# Number of goroutines running in parallel in metadata phase for ECR Org setup.
109107
parallelGoRoutines: 100
110108
ssl:

0 commit comments

Comments
 (0)