| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -176,6 +176,7 @@ helm install nuclei secureCodeBox/nuclei --set="nucleiTemplateCache.enabled=fals | |||
| 176 | 176 | |-----|------|---------|-------------| | |
| 177 | 177 | | cascadingRules.enabled | bool | `true` | Enables or disables the installation of the default cascading rules for this scanner | | |
| 178 | 178 | | imagePullSecrets | list | `[]` | Define imagePullSecrets when a private registry is used (see: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | | |
| 179 | + | nucleiTemplateCache.accessMode | list | `["ReadWriteOnce","ReadOnlyMany"]` | Depending on your setup you can define the pvc access mode for one `ReadWriteOnce` or multiple node clusters `ReadWriteMany` | | ||
| 179 | 180 | | 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 | | |
| 180 | 181 | | nucleiTemplateCache.enabled | bool | `true` | Enables or disables the use of an persistent volume to cache the always downloaded nuclei-templates for all scans. | | |
| 181 | 182 | | 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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -183,6 +183,7 @@ helm install nuclei secureCodeBox/nuclei --set="nucleiTemplateCache.enabled=fals | |||
| 183 | 183 | |-----|------|---------|-------------| | |
| 184 | 184 | | cascadingRules.enabled | bool | `true` | Enables or disables the installation of the default cascading rules for this scanner | | |
| 185 | 185 | | imagePullSecrets | list | `[]` | Define imagePullSecrets when a private registry is used (see: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) | | |
| 186 | + | nucleiTemplateCache.accessMode | list | `["ReadWriteOnce","ReadOnlyMany"]` | Depending on your setup you can define the pvc access mode for one `ReadWriteOnce` or multiple node clusters `ReadWriteMany` | | ||
| 186 | 187 | | 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 | | |
| 187 | 188 | | nucleiTemplateCache.enabled | bool | `true` | Enables or disables the use of an persistent volume to cache the always downloaded nuclei-templates for all scans. | | |
| 188 | 189 | | 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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,8 +11,7 @@ metadata: | |||
| 11 | 11 | name: nuclei-content-claim | |
| 12 | 12 | spec: | |
| 13 | 13 | accessModes: | |
| 14 | - - ReadWriteOnce | ||
| 15 | - - ReadOnlyMany | ||
| 14 | + {{- toYaml .Values.nucleiTemplateCache.accessMode | nindent 4 }} | ||
| 16 | 15 | resources: | |
| 17 | 16 | requests: | |
| 18 | 17 | storage: 1Gi | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,6 +94,10 @@ scanner: | |||
| 94 | 94 | nucleiTemplateCache: | |
| 95 | 95 | # -- Enables or disables the use of an persistent volume to cache the always downloaded nuclei-templates for all scans. | |
| 96 | 96 | enabled: true | |
| 97 | + # -- Depending on your setup you can define the pvc access mode for one `ReadWriteOnce` or multiple node clusters `ReadWriteMany` | ||
| 98 | + accessMode: | ||
| 99 | + - ReadWriteOnce | ||
| 100 | + - ReadOnlyMany | ||
| 97 | 101 | # every day at 08:00: "0 8 * * *" | |
| 98 | 102 | # every full hour: "0 */1 * * *"" | |
| 99 | 103 | # -- The schedule indicates when and how often the nuclei template cache should be updated | |
| Back | FazBrowse Home | New Git URL |
0 commit comments