mirror of
https://github.com/lukaszraczylo/gohoarder.git
synced 2026-11-26 06:37:07 +00:00
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:
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user