mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-04-20 17:37:55 +00:00
Existing job.yml has wrong command for command ["python", "kube-hunter,py"]. But it should change to command ["kube-hunter"] Co-authored-by: Liz Rice <liz@lizrice.com>
15 lines
271 B
YAML
15 lines
271 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: kube-hunter
|
|
spec:
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: kube-hunter
|
|
image: aquasec/kube-hunter
|
|
command: ["kube-hunter"]
|
|
args: ["--pod"]
|
|
restartPolicy: Never
|
|
backoffLimit: 4
|