github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/test/testdata/kubernetes/KSV006/denied.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Pod
     4  metadata:
     5    name: hello-docker-socket
     6  spec:
     7    containers:
     8      - command:
     9          - sh
    10          - "-c"
    11          - echo 'Hello' && sleep 1h
    12        image: busybox
    13        name: hello
    14    volumes:
    15      - name: test-volume
    16        hostPath:
    17          path: "/var/run/docker.sock"
    18          type: Directory