aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/security/kube-hunter.yaml
blob: 0b58cab7fde3e9583528c29b6421247e4eb8c75a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
apiVersion: batch/v1
kind: Job
metadata:
  name: kube-hunter
spec:
  template:
    spec:
      containers:
      - name: kube-hunter
        image: {{ dockerhub_repo }}/aquasec/kube-hunter:latest
        command: ["kube-hunter"]
        args: ["--pod", "--report", "json", "--statistics"]
      restartPolicy: Never
  backoffLimit: 4