From 088f7bbdc411d4f285eb4cb80ececaed3ac5f651 Mon Sep 17 00:00:00 2001 From: Ammar Yasser Date: Wed, 9 Oct 2024 17:53:56 +0300 Subject: [PATCH] docs: Modify patchedResource key in variables to be patchedResources (#1380) Signed-off-by: aerosouund --- content/en/docs/kyverno-cli/usage/test.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ```