1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine/api
Vishal Choudhary 174534b518
fix: properly verify precondition in old object validation (#11644)
* fix: properly verify precondition in old object validation

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

* fix: tests

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

* fix: assert bug

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

* fix: properly update the values

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

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-12-04 06:32:12 +00:00
..
client.go feat: Add Manifest Index to ImageRegistry context (#9883) 2024-11-14 08:10:25 +00:00
contextloader.go fix: image cache panic and cleanup (#8512) 2023-09-22 10:40:16 +00:00
engine.go feat: support foreach for generate.data (#10875) 2024-08-19 06:55:19 +00:00
engineresponse.go feat: show violations and mutations as warning (#10214) 2024-09-05 10:02:00 +00:00
engineresponse_test.go feat: use pointer in rule (validate field) (#11095) 2024-09-11 09:12:53 +00:00
fuzz_test.go feat: add fuzzers from cncf-fuzzing (#8027) 2023-08-16 16:42:37 +00:00
imageverifymetadata.go feat: add skipImageReferences in verify images (#8633) 2024-01-23 12:27:39 +00:00
imageverifymetadata_test.go feat: add skipImageReferences in verify images (#8633) 2024-01-23 12:27:39 +00:00
policy.go chore: remove v1alpha1 of VAPs and use v1beta1 (#10955) 2024-08-29 15:31:25 +00:00
policycontext.go fix: properly verify precondition in old object validation (#11644) 2024-12-04 06:32:12 +00:00
policyresponse.go feat: show violations and mutations as warning (#10214) 2024-09-05 10:02:00 +00:00
resolver.go refactor: move resolvers into engine api package (#6162) 2023-01-31 07:46:38 +00:00
resolver_test.go Fix deferred loading (#7597) 2023-06-27 09:58:50 -07:00
resourcespec.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
resourcespec_test.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
ruleresponse.go feat: update engine response.generatedResources to support multiple resource (#11398) 2024-10-15 14:59:18 +08:00
ruleresponse_test.go feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
rulestatus.go feat: apply generate rules on trigger events (#6508) 2023-03-10 17:17:10 +00:00
ruletype.go refactor: clean engine api package (#6156) 2023-01-30 14:49:44 +00:00
selector.go chore: use v2 clients for policy exceptions (#10530) 2024-06-24 16:36:55 +00:00
stats.go refactor: policy response (#6877) 2023-04-12 16:20:42 +00:00
stats_test.go chore: add engine api stats unit tests (#7451) 2023-06-07 10:11:46 +00:00