1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/test/scenarios/mutate/overlay.yaml

13 lines
404 B
YAML
Raw Normal View History

2019-06-17 18:11:22 -07:00
# file path relative to project root
input:
policy: examples/mutate/overlay/policy_imagePullPolicy.yaml
resource: examples/mutate/overlay/nginx.yaml
expected:
2019-07-01 12:16:12 -07:00
passes: true
2019-06-17 18:11:22 -07:00
mutation:
patched_resource: test/output/op_overlay_nginx.yaml
2019-07-01 12:16:12 -07:00
rules:
- name: set-image-pull-policy
type: Mutation
messages:
- "Rule set-image-pull-policy: Overlay succesfully applied."