mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* chore: bump chainsaw Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * more template use Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * v0.2.10 Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * go mod Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> --------- Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> |
||
---|---|---|
.. | ||
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"