chore(deploy): add rescan and scan-wait keys to the example configs

The Helm chart and the Kubernetes configmap listed only rescan_interval.
They now also set rescan_active_window, rescan_concurrency,
rescan_on_access and scan_wait_timeout. The values match the effective
code defaults, so a deploy behaves as before.
This commit is contained in:
2026-11-24 00:20:01 +00:00
parent 3a7ffab4d5
commit 30ebfaae3e
3 changed files with 12 additions and 0 deletions
@@ -32,6 +32,10 @@ data:
severity_threshold: medium
block_on_vulnerability: false
rescan_interval: 24h
rescan_active_window: 0s
rescan_concurrency: 1
rescan_on_access: false
scan_wait_timeout: 30s
handlers:
npm:
+4
View File
@@ -89,6 +89,10 @@ data:
block_on_severity: {{ .Values.security.blockOnSeverity | quote }}
scan_on_download: {{ .Values.security.scanOnDownload }}
rescan_interval: {{ .Values.security.rescanInterval | quote }}
rescan_active_window: {{ .Values.security.rescanActiveWindow | quote }}
rescan_concurrency: {{ .Values.security.rescanConcurrency }}
rescan_on_access: {{ .Values.security.rescanOnAccess }}
scan_wait_timeout: {{ .Values.security.scanWaitTimeout | quote }}
update_db_on_startup: {{ .Values.security.updateDbOnStartup }}
block_thresholds:
critical: {{ .Values.security.blockThresholds.critical }}
+4
View File
@@ -395,6 +395,10 @@ security:
blockOnSeverity: "high" # none, low, medium, high, critical
scanOnDownload: true
rescanInterval: "24h"
rescanActiveWindow: "0s" # rescan only packages requested within this window; 0 = all
rescanConcurrency: 1 # scans run in parallel per rescan cycle
rescanOnAccess: false # rescan a stale cache hit before serving it
scanWaitTimeout: "30s" # how long a first download waits for its scan
updateDbOnStartup: false
blockThresholds: