# file path is relative to project root
input:
  policy: test/policy/mutate/policy_mutate_validate_qos.yaml
  resource: test/resources/resource_mutate_validate_qos.yaml
expected:
  mutation:
    patchedresource: test/output/output_mutate_validate_qos.yaml
    policyresponse:
      policy: policy-qos
      resource:
        kind: Deployment
        apiVersion: apps/v1
        namespace: ''
        name: qos-demo
      rules:
        - name: add-memory-limit
          type: Mutation
          success: true
          message: successfully processed overlay
  validation:
    policyresponse:
      policy: policy-qos
      resource:
        kind: Deployment
        apiVersion: apps/v1
        namespace: ''
        name: qos-demo
      rules:
        - name: check-cpu-memory-limits
          type: Validation
          message: Validation rule 'check-cpu-memory-limits' succeeded.
          success: true     