1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
D N Siva Sathyaseelan cc966bf7af
feat:support default value into apiCall context variables (#10594)
* initial changes

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* test changes

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* logical changes

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* added Check for default in transformAndStore

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* codegen applied

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* considered an edge case

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

* fix: remove error when jsondata and default is nil

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

* codegen done

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>

---------

Signed-off-by: sivasathyaseeelan <dnsiva.sathyaseelan.chy21@iitbhu.ac.in>
Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-09-05 13:57:44 +08:00
..
adapters fix: add the resource name to the SubjectAccessReview (#10221) 2024-08-07 12:46:44 +00:00
anchor fix: validate pattern premature skip (#9155) 2024-01-29 13:06:39 +00:00
api feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
apicall feat:support default value into apiCall context variables (#10594) 2024-09-05 13:57:44 +08:00
context feat:support default value into apiCall context variables (#10594) 2024-09-05 13:57:44 +08:00
factories feat: add globalcontext loader and interface (#9602) 2024-02-05 11:24:37 +00:00
handlers feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
internal feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
jmespath feat(perf): add new linter prealloc to enforce slice declarations best practice (#10250) 2024-05-20 14:46:35 +05:30
jsonutils feat(json): reduce reliance on DocumentToUntyped() (#10724) 2024-07-29 11:57:20 +00:00
mutate feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
operator fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
pattern chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
policycontext Deferred loading for image info in policy context (#10787) 2024-08-30 05:35:26 +00:00
resources refactor: introduce engine handler (#6680) 2023-03-24 16:24:00 +00:00
utils feat: bump to k8s 1.31 (#10938) 2024-08-28 17:09:58 +00:00
validate fix(anchor): skip anchors don't have priority (#10206) 2024-05-22 09:04:14 +00:00
variables reduce recursions for nested var substutution (#10877) 2024-08-18 17:40:27 +08:00
wildcards chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
attestation_test.go Conditions message (#7113) 2023-05-08 15:34:23 +08:00
background.go feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
engine.go feat: enable custom data in policy reports using properties (#10933) 2024-09-03 17:36:07 +00:00
exceptions.go chore: use v2 clients for policy exceptions (#10530) 2024-06-24 16:36:55 +00:00
forceMutate.go feat(json): unmarshal once per policy (#10701) 2024-07-30 10:52:41 +00:00
forceMutate_test.go Improved test covergae for forceMutate (#10103) 2024-07-24 10:43:07 +00:00
fuzz_test.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
generation.go fix: remove unused parameters (#10330) 2024-05-29 23:29:24 +00:00
image_verify.go fix(autogen): only generate rule for request kind (#9984) 2024-04-04 08:09:30 +00:00
image_verify_test.go fix: properly use useCache field in image verification policies (#10709) 2024-08-19 14:26:07 +00:00
metrics.go fix: change generic policy to not return any (#9463) 2024-01-20 19:20:22 +02:00
mutation.go fix: Check for the client being nil before applying a mutation (#10726) 2024-07-26 10:49:51 +00:00
mutation_test.go fix: return policies with either audit or enforce rules from the cache (#10667) 2024-08-06 18:24:28 +00:00
policy_context.go refactor: hide json context from caller (#7139) 2023-05-12 14:14:48 +00:00
validation.go feat: add kyverno json support to validation rule (#10763) 2024-08-02 08:24:30 +00:00
validation_test.go chore: rename validationFailureAction to failureAction under the rule (#10893) 2024-08-27 20:07:57 +00:00