github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/54/fail/54-fail.yaml (about)

     1  apiVersion: v1
     2  kind: Pod
     3  spec:
     4    containers:
     5      - image: k8s.gcr.io/test-webserver
     6        name: test-container
     7        volumeMounts:
     8          - mountPath: /test-pd
     9            name: test-volume
    10    volumes:
    11      - name: test-volume
    12        hostPath:
    13          path: /data
    14          type: Directory