mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Documentation update
Updated instructions with current locations of `policy-CM.yaml` and `CM.yaml`.
This commit is contained in:
parent
22ddf50792
commit
80a02a1574
1 changed files with 4 additions and 4 deletions
|
@ -12,14 +12,14 @@ To do this you should [install Kyverno to the cluster](installation.md).
|
|||
For example, to test the simplest Kyverno policy for `ConfigMap`, create the policy and then the resource itself via `kubectl`:
|
||||
|
||||
````bash
|
||||
cd test/ConfigMap
|
||||
kubectl create -f policy-CM.yaml
|
||||
kubectl create -f CM.yaml
|
||||
cd test
|
||||
kubectl create -f policy/policy-CM.yaml
|
||||
kubectl create -f resources/CM.yaml
|
||||
````
|
||||
Then compare the original resource definition in `CM.yaml` with the actual one:
|
||||
|
||||
````bash
|
||||
kubectl get -f CM.yaml -o yaml
|
||||
kubectl get -f resources/CM.yaml -o yaml
|
||||
````
|
||||
|
||||
## Test using Kyverno CLI
|
||||
|
|
Loading…
Add table
Reference in a new issue