1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

updated readme

This commit is contained in:
NoSkillGirl 2020-08-11 09:55:02 +05:30
parent 0927e7a732
commit e18deb94f2

View file

@ -88,5 +88,14 @@ Saving the mutated resource in a file/directory:
kyverno apply /path/to/policy.yaml --resource /path/to/resource.yaml -o <file path/directory path>
```
Apply policy with variables:
Use --set flag to pass the values for variables in a policy while applying on a resource.
```
kyverno apply /path/to/policy.yaml --resource /path/to/resource.yaml --set <variable1>=<value1>,<variable2>=<value2>
```
<small>*Read Next >> [Sample Policies](/samples/README.md)*</small>