diff --git a/content/en/docs/kyverno-cli/usage/test.md b/content/en/docs/kyverno-cli/usage/test.md index 1ebd7d6e6..7472181e9 100644 --- a/content/en/docs/kyverno-cli/usage/test.md +++ b/content/en/docs/kyverno-cli/usage/test.md @@ -49,7 +49,7 @@ results: resources: # optional, primarily for `validate` rules. - - - patchedResource: # when testing a mutate rule this field is required. + patchedResources: # when testing a mutate rule this field is required. generatedResource: # when testing a generate rule this field is required. cloneSourceResource: # when testing a generate rule that uses `clone` object this field is required. kind: @@ -416,14 +416,14 @@ results: rule: add-default-requests resources: - nginx-demo1 - patchedResource: patchedResource1.yaml + patchedResources: patchedResource1.yaml kind: Pod result: pass - policy: add-default-resources rule: add-default-requests resources: - nginx-demo2 - patchedResource: patchedResource2.yaml + patchedResources: patchedResource2.yaml kind: Pod result: skip ```