mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-08 10:04:25 +00:00
Merge pull request #830 from danielnbalasoiu/patch-1
Documentation update
This commit is contained in:
commit
47fdb9e510
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