apiVersion: v1
kind: Pod
metadata:
  name: owasp-zap
  labels:
    purpose: dast
spec:
  containers:
  - name: owasp-zap
    image: owasp/zap2docker-stable
    command: ["bash"]
    args: ["-c","zap-baseline.py -t http://192.168.6.76:30001 -r $JOB_NAME.html"]
    volumeMounts:
    - mountPath: /zap/wrk/
      name: test-volume
  restartPolicy: Never
  volumes:
  - name: test-volume
    hostPath:
      path: /tmp/zap
