1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
kyverno/test/conformance/chainsaw/globalcontext/validate-crd
Charles-Edouard Brétéché f529ff9b85
fix: global context validation (#9643)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2024-02-05 13:56:44 +00:00
..
chainsaw-test.yaml fix: global context validation (#9643) 2024-02-05 13:56:44 +00:00
multiple-resources.yaml feat: add chainsaw tests for global context crd validation (#9628) 2024-02-04 18:15:55 +01:00
no-resource.yaml feat: add chainsaw tests for global context crd validation (#9628) 2024-02-04 18:15:55 +01:00
README.md feat: add chainsaw tests for global context crd validation (#9628) 2024-02-04 18:15:55 +01:00
valid-context-assert.yaml feat: add chainsaw tests for global context crd validation (#9628) 2024-02-04 18:15:55 +01:00
valid-context.yaml feat: add chainsaw tests for global context crd validation (#9628) 2024-02-04 18:15:55 +01:00

Description

This test creates the following global context entries:

  1. A valid global context entry.
  2. A context entry with both kubernetesResource and apiCall.
  3. A context entry with neither kubernetesResource nor apiCall.

Expected Behavior

1st global context entry should get created, 2nd and 3rd entries should return an error.