1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/test/scenarios/mutate/overlay.yaml
2019-07-01 12:16:12 -07:00

13 lines
No EOL
404 B
YAML

# file path relative to project root
input:
policy: examples/mutate/overlay/policy_imagePullPolicy.yaml
resource: examples/mutate/overlay/nginx.yaml
expected:
passes: true
mutation:
patched_resource: test/output/op_overlay_nginx.yaml
rules:
- name: set-image-pull-policy
type: Mutation
messages:
- "Rule set-image-pull-policy: Overlay succesfully applied."