mirror of
https://github.com/morten-olsen/homelab-nuclei-operator.git
synced 2026-02-08 02:16:23 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86e03385c2 |
@@ -60,7 +60,6 @@ USER 65532:65532
|
|||||||
|
|
||||||
# Environment variables for nuclei
|
# Environment variables for nuclei
|
||||||
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
|
ENV NUCLEI_TEMPLATES_PATH=/nuclei-templates
|
||||||
ENV NUCLEI_BINARY_PATH=/usr/local/bin/nuclei
|
|
||||||
ENV HOME=/home/nonroot
|
ENV HOME=/home/nonroot
|
||||||
|
|
||||||
ENTRYPOINT ["/manager"]
|
ENTRYPOINT ["/manager"]
|
||||||
|
|||||||
@@ -460,6 +460,14 @@ 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