mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 16:06:56 +00:00
* feat: add chainsaw tests for global context crd validation Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com> * feat: add globalcontext to standard conformance action Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com> * fix: overlapping names Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com> --------- Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com> |
||
---|---|---|
.. | ||
chainsaw-test.yaml | ||
multiple-resources.yaml | ||
no-resource.yaml | ||
README.md | ||
valid-context-assert.yaml | ||
valid-context.yaml |
Description
This test creates the following global context entries:
- A valid global context entry.
- A context entry with both
kubernetesResource
andapiCall
. - A context entry with neither
kubernetesResource
norapiCall
.
Expected Behavior
1st global context entry should get created, 2nd and 3rd entries should return an error.