1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-12 10:56:54 +00:00
kyverno/test/conformance/kuttl/validate/clusterpolicy/standard
Vishal Choudhary 72524c792c
fix: update KeysAreMissing() to ignore negations in resource (#8953)
* fix: update KeysAreMissing() to ignore negations in resource

KeysAreMissing() checks if a key is missing in a resource, since a negation should not be present in the resource, it should not count as a missing key

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* feat: add tests

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

* fix: pod is supposed to fail

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
2023-11-22 09:06:40 +00:00
..
apicalls lazy loading of context vars (#7071) 2023-05-05 20:35:47 -04:00
audit chore: use Audit instead of audit in kuttl tests (#6770) 2023-04-03 16:27:21 +00:00
cel feat: support authorizer variable in CEL expressions (#8024) 2023-09-05 10:16:50 +00:00
debug test: add kuttl tests for ephemeral containers (#6631) 2023-03-22 10:52:02 +00:00
enforce fix: update KeysAreMissing() to ignore negations in resource (#8953) 2023-11-22 09:06:40 +00:00
exclude/exclude-namespace chore: add kuttl test for namespace exclusion (#6914) 2023-04-13 15:39:55 +00:00
gvk chore: use Enforce instead of enforce in kuttl tests (#6763) 2023-04-03 13:36:30 +00:00
operations/only-update feat: add operations support in match/exclude (#6658) 2023-03-29 04:22:21 +00:00
psa add kuttl tests (#7283) 2023-05-26 01:16:50 +00:00
subresource fix: policy cache use GVR instead of kind (#6543) 2023-03-13 14:44:39 +00:00
variables/lazyload chore: fix policies (#8449) 2023-09-19 10:28:58 +00:00
wildcard/block-verifyimage feat: migrate ignoreSCT from rekor to ctlog (#8166) 2023-08-30 08:39:49 +02:00