mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-10 09:56:55 +00:00
* fix mutate preprocessing for anchors Signed-off-by: Jim Bugwadia <jim@nirmata.com> * make fmt Signed-off-by: Jim Bugwadia <jim@nirmata.com> Co-authored-by: shuting <shutting06@gmail.com>
12 lines
270 B
YAML
12 lines
270 B
YAML
name: foreach-mutate
|
|
policies:
|
|
- policies.yaml
|
|
resources:
|
|
- resources.yaml
|
|
results:
|
|
- policy: replace-image-registry-containers
|
|
rule: set-default
|
|
resource: test-patched-image
|
|
patchedResource: pod-patched.yaml
|
|
kind: Pod
|
|
result: pass
|