1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/cli/test-mutate/foreach/cumulativePatch/kyverno-test.yaml
Jim Bugwadia 06e93fec46
apply patches cumulatively (#3083)
* apply patches cumulatively

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* handle skipped rules

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add test files

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2022-01-25 09:00:18 +00:00

12 lines
239 B
YAML

name: foreach-mutate
policies:
- policies.yaml
resources:
- resources.yaml
results:
- policy: add-default-resources
rule: add-default-requests
resource: badpod
patchedResource: patched.yaml
kind: Pod
result: pass