Skip to content

Commit cb499c8

Browse files
Reduce scanner timeout to 20s (canada-ca#2804)
1 parent 5007899 commit cb499c8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

app/bases/knative/config/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ spec:
2222
containers:
2323
- name: https-scanner
2424
image: gcr.io/track-compliance/services/scanners/https:master-2cf17ff-1628180961 # {"$imagepolicy": "flux-system:https-scanner"}
25+
env:
26+
- name: SCAN_TIMEOUT
27+
value: 20
2528
---
2629
apiVersion: serving.knative.dev/v1 # Current version of Knative
2730
kind: Service
@@ -117,6 +120,9 @@ spec:
117120
containers:
118121
- name: ssl-scanner
119122
image: gcr.io/track-compliance/services/scanners/ssl:master-2cf17ff-1628180953 # {"$imagepolicy": "flux-system:ssl-scanner"}
123+
env:
124+
- name: SCAN_TIMEOUT
125+
value: 20
120126
---
121127
apiVersion: serving.knative.dev/v1 # Current version of Knative
122128
kind: Service
@@ -142,6 +148,9 @@ spec:
142148
containers:
143149
- name: dns-scanner
144150
image: gcr.io/track-compliance/services/scanners/dns:master-2cf17ff-1628180942 # {"$imagepolicy": "flux-system:dns-scanner"}
151+
env:
152+
- name: SCAN_TIMEOUT
153+
value: 20
145154
---
146155
# K8s Service Account that runs `src`'s container.
147156

0 commit comments

Comments
 (0)