name: foreach-mutate
policies:
  - policies.yaml
resources:
  - resources.yaml
variables: values.yaml
results:
  - policy: foreach-json-patch
    rule: add-security-context
    resource: nginx
    patchedResource: patched-resource.yaml
    kind: Pod
    result: pass
  - policy: mutate-images
    rule: test
    resource: mypod
    patchedResource: pod-updated-image.yaml
    kind: Pod
    result: pass
