mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
13 lines
No EOL
405 B
YAML
13 lines
No EOL
405 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 successfully applied." |