Skip to content

Commit cd56ae4

Browse files
committed
Add proper docs to added values
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@iteratec.com>
1 parent 77dae5d commit cd56ae4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

scanners/nuclei/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@ Kubernetes: `>=v1.11.0-0`
161161
| Key | Type | Default | Description |
162162
|-----|------|---------|-------------|
163163
| cascadingRules.enabled | bool | `true` | Enables or disables the installation of the default cascading rules for this scanner |
164+
| nucleiTemplateCache.concurrencyPolicy | string | `"Replace"` | Determines how kubernetes handles cases where multiple instances of the cronjob would work if they are running at the same time. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#concurrency-policy |
164165
| nucleiTemplateCache.enabled | bool | `true` | Enables or disables the use of an persistent volume to cache the always downloaded nuclei-templates for all scans. |
166+
| nucleiTemplateCache.failedJobsHistoryLimit | int | `10` | Determines how many failed jobs are kept until kubernetes cleans them up. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#jobs-history-limits |
165167
| nucleiTemplateCache.schedule | string | `"0 */1 * * *"` | |
168+
| nucleiTemplateCache.successfulJobsHistoryLimit | int | `3` | Determines how many successful jobs are kept until kubernetes cleans them up. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#jobs-history-limits |
166169
| parser.env | list | `[]` | Optional environment variables mapped into each parseJob (see: https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/) |
167170
| parser.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images |
168171
| parser.image.repository | string | `"docker.io/securecodebox/parser-nuclei"` | Parser image repository |

scanners/nuclei/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@ nucleiTemplateCache:
8181
# every full hour: "0 */1 * * *""
8282
# -- The schedule indicates when and how often the nuclei template cache should be updated
8383
schedule: "0 */1 * * *"
84-
failedJobsHistoryLimit: 10
84+
# -- Determines how many successful jobs are kept until kubernetes cleans them up. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#jobs-history-limits
8585
successfulJobsHistoryLimit: 3
86+
# -- Determines how many failed jobs are kept until kubernetes cleans them up. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#jobs-history-limits
87+
failedJobsHistoryLimit: 10
88+
# -- Determines how kubernetes handles cases where multiple instances of the cronjob would work if they are running at the same time. See: https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/#concurrency-policy
8689
concurrencyPolicy: "Replace"
8790

8891
cascadingRules:

0 commit comments

Comments
 (0)