mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
8c1d79ab28
* cleanup phase 1 * linter fixes phase 2
13 lines
No EOL
371 B
YAML
13 lines
No EOL
371 B
YAML
# file path relative to project root
|
|
input:
|
|
policy: examples/mutate/patches/policy_endpoints.yaml
|
|
resource: examples/mutate/patches/endpoints.yaml
|
|
expected:
|
|
passes: true
|
|
mutation:
|
|
patched_resource: test/output/op_patches_endpoints.yaml
|
|
rules:
|
|
- name: pEP
|
|
type: Mutation
|
|
messages:
|
|
- "Rule pEP: Patches successfully applied." |