mirror of
https://github.com/morten-olsen/homelab-nuclei-operator.git
synced 2026-02-07 18:06:23 +01:00
set defaults in docker instead of scanner
This commit is contained in:
@@ -60,6 +60,7 @@ USER 65532:65532
|
||||
|
||||
# Environment variables for nuclei
|
||||
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
|
||||
ENV NUCLEI_BINARY_PATH=/usr/local/bin/nuclei
|
||||
ENV HOME=/home/nonroot
|
||||
|
||||
ENTRYPOINT ["/manager"]
|
||||
|
||||
@@ -460,14 +460,6 @@ func (m *JobManager) buildJob(scan *nucleiv1alpha1.NucleiScan) *batchv1.Job {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "NUCLEI_BINARY_PATH",
|
||||
Value: "/usr/local/bin/nuclei",
|
||||
},
|
||||
{
|
||||
Name: "NUCLEI_TEMPLATES_PATH",
|
||||
Value: "", // Empty means use default location (~/.nuclei/templates)
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user