Skip to content

Commit

Permalink
support inline exceptions in cli apply
Browse files Browse the repository at this point in the history
Signed-off-by: bakito <[email protected]>
  • Loading branch information
bakito committed Apr 29, 2024
1 parent 9a3c114 commit 2f1fa72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions content/en/docs/kyverno-cli/usage/apply.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ Apply multiple policies to multiple resources with exceptions:
```sh
kyverno apply /path/to/policy1.yaml /path/to/folderFullOfPolicies --resource /path/to/resource1.yaml --resource /path/to/resource2.yaml --exception /path/to/exception1.yaml --exception /path/to/exception2.yaml
```
Apply multiple policies to multiple resources where exceptions are evaluated from the provided resources:

```sh
kyverno apply /path/to/policy1.yaml /path/to/folderFullOfPolicies --resource /path/to/resource1.yaml --resource /path/to/resource2.yaml --evaluate-inline-exceptions
```

Apply a mutation policy to a specific resource:

Expand Down

0 comments on commit 2f1fa72

Please sign in to comment.