
# file path relative to project root
input:
  policy: test/policy/validate/policy_validate_volume_whitelist.yaml
  resource: test/resources/resource_validate_volume_whitelist.yaml
expected:
  validation:
    policyresponse:
      policy: validate-volumes-whitelist
      resource:
        kind: Pod
        apiVersion: v1
        namespace: ''
        name: test-volumes
      rules:
        - name: validate-volumes-whitelist
          type: Validation
          message: "Validation rule 'validate-volumes-whitelist' anyPattern[2] succeeded."
          success: true