1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-14 19:58:45 +00:00
kyverno/test/cli/test-mutate/bug-demo/kyverno-test.yaml
gcp-cherry-pick-bot[bot] 8e354a30cf
fix: check the patchedResources in kyverno-test (#11686) (#11695)
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-12-03 08:04:45 +00:00

16 lines
281 B
YAML

apiVersion: cli.kyverno.io/v1alpha1
kind: Test
metadata:
name: kyverno-test.yaml
policies:
- ./policy.yaml
resources:
- ./resource.yaml
results:
- kind: Pod
patchedResources: patched-resource-pattern.yaml
policy: bug-demo
resources:
- pod1
result: pass
rule: mutate1