diff --git a/charts/cdefense/templates/api/config.yaml b/charts/cdefense/templates/api/config.yaml index 9c49d2e..3369fbe 100644 --- a/charts/cdefense/templates/api/config.yaml +++ b/charts/cdefense/templates/api/config.yaml @@ -25,4 +25,5 @@ data: AWS_SCAN_S3_REGION: {{ .Values.api.logs.region }} AWS_SCAN_S3_BUCKET: {{ .Values.api.logs.bucket }} VULNERABILITY_SCRAPER_SERVICE_HOST: {{ .Values.api.vuln.host}} - MAX_SCAN_PER_USER: "10" \ No newline at end of file + MAX_SCAN_PER_USER: "10" + ONLINE_SCAN_POOL_SIZE: "20" \ No newline at end of file diff --git a/charts/cdefense/templates/api/deployment.yaml b/charts/cdefense/templates/api/deployment.yaml index dd71019..8f1ea13 100644 --- a/charts/cdefense/templates/api/deployment.yaml +++ b/charts/cdefense/templates/api/deployment.yaml @@ -273,6 +273,11 @@ spec: configMapKeyRef: name: scan-server-config key: MAX_SCAN_PER_USER + - name: ONLINE_SCAN_POOL_SIZE + valueFrom: + configMapKeyRef: + name: scan-server-config + key: ONLINE_SCAN_POOL_SIZE ports: - containerPort: 8080 # resources: