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