mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-09 17:37:12 +00:00
Signed-off-by: Mariam Fahmy <mariam.fahmy@nirmata.com> Co-authored-by: Jim Bugwadia <jim@nirmata.com> |
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
clusterpolicy-assert.yaml | ||
clusterpolicy.yaml | ||
policy-assert.yaml | ||
policy.yaml | ||
README.md | ||
webhooks.yaml |
Description
This test verifies the resource validation webhook is configured correctly when a Policy targets the Secret
resource and ClusterPolicy targets the ConfigMap
resource.
Steps
-
- Create a Policy targeting
Secret
- Create a ClusterPolicy targeting
ConfigMap
- Assert polices get ready
- Create a Policy targeting
-
- Assert that the resource validation webhook is configured correctly