Skip to content

Commit

Permalink
Update scan pool env variable for api pod
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Jan 17, 2024
1 parent efbacc9 commit d361a52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/cdefense/templates/api/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
MAX_SCAN_PER_USER: "10"
ONLINE_SCAN_POOL_SIZE: "20"
5 changes: 5 additions & 0 deletions charts/cdefense/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d361a52

Please sign in to comment.