mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
|
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
policy-1-assert.yaml | ||
policy-1.yaml | ||
policy-2-assert.yaml | ||
policy-2.yaml | ||
README.md | ||
webhooks.yaml |
Description
This test verifies the resource validation webhook is configured correctly when a Policy targets all *
resources.
Steps
-
- Create a policy targeting
Deployment
Create a policy targetingConfigmap
- Assert policies gets ready
- Create a policy targeting
-
- Assert that the resource validation webhook is configured correctly and two rules are created with scope is set to "namespaced"