mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
* fix: return policies with either audit or enforce rules from the cache Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * feat: introduce validationFailureAction under verifyImage rules Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * feat: add chainsaw tests Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> * fix Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> --------- Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Co-authored-by: shuting <shuting@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"