mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
|
||
---|---|---|
.. | ||
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