Skip to content

Commit

Permalink
docs: Modify patchedResource key in variables to be patchedResources (#…
Browse files Browse the repository at this point in the history
…1380)

Signed-off-by: aerosouund <[email protected]>
  • Loading branch information
aerosouund authored Oct 9, 2024
1 parent 846d823 commit 088f7bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/en/docs/kyverno-cli/usage/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ results:
resources: # optional, primarily for `validate` rules.
- <namespace_1/name_1>
- <namespace_2/name_2>
patchedResource: <file_name.yaml> # when testing a mutate rule this field is required.
patchedResources: <file_name.yaml> # when testing a mutate rule this field is required.
generatedResource: <file_name.yaml> # when testing a generate rule this field is required.
cloneSourceResource: <file_name.yaml> # when testing a generate rule that uses `clone` object this field is required.
kind: <kind>
Expand Down Expand Up @@ -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
```
Expand Down

0 comments on commit 088f7bb

Please sign in to comment.