Skip to content

Commit 080b66f

Browse files
Reet00J12934
authored andcommitted
#2293 Add documentation for ttlSecondsAfterfinished
Signed-off-by: Samreet Singh <samreet.singh@iteratec.com>
1 parent 5dc41a4 commit 080b66f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

documentation/docs/api/crds/scan.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,19 @@ resources:
339339
cpu: 4
340340
memory: 4Gi
341341
```
342+
### TTLSecondsAfterFinished
343+
`ttlSecondsAfterFinished` deletes the scan after a specified duration.
344+
345+
```yaml
346+
TTLSecondsAfterFinished: 30 #deletes the scan after 30 seconds after completion
347+
```
348+
349+
:::note
350+
TTLSecondsAfterFinished can also be set for the scanner or parser jobs individually (e.g [ScanType Custom Resource](
351+
/docs/contributing/integrating-a-scanner/values.yaml)). This will only deleted the job not the entire scan.
352+
:::
353+
354+
342355

343356
## Metadata
344357

0 commit comments

Comments
 (0)