1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/engine
Shubham Singh 6aaa06702f
bug: making images consistent with image (#9147)
* adding `ReferenceWithTag` and `GetReferenceWithTag` + Populating them

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* Adding tests for the same

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* `ReferenceWithTag()` -> `ReferenceWithTag`

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* `Strings()` -> `ReferenceWithTag`

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* added `ReferenceWithTag` to image_test

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* sorting out linter

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

---------

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
Co-authored-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
2023-12-22 11:15:50 +00:00
..
adapters chore: use sigstore/cosign 2.2.2 on main (#9179) 2023-12-18 06:41:26 +00:00
anchor fix: update KeysAreMissing() to ignore negations in resource (#8953) 2023-11-22 09:06:40 +00:00
api fix: set v2beta1 of exceptions the storage version (#9254) 2023-12-22 10:13:58 +00:00
apicall feat: add checks for max response size in API Call (#8957) 2023-11-21 10:01:51 +00:00
context bug: making images consistent with image (#9147) 2023-12-22 11:15:50 +00:00
factories feat: add checks for max response size in API Call (#8957) 2023-11-21 10:01:51 +00:00
handlers fix: set v2beta1 of exceptions the storage version (#9254) 2023-12-22 10:13:58 +00:00
internal chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
jmespath create interpreter once and reuse across searches (#8299) 2023-11-30 16:59:11 +01:00
jsonutils optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00
mutate optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00
operator
pattern chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
policycontext fix: allow changes to preexisting resource in violation of a policy in Enforce (#9027) 2023-12-12 09:17:53 +00:00
resources refactor: introduce engine handler (#6680) 2023-03-24 16:24:00 +00:00
utils fix: set v2beta1 of exceptions the storage version (#9254) 2023-12-22 10:13:58 +00:00
validate
variables optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00: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: compute policy exceptions as a part of the rule execution (#8713) 2023-11-13 15:43:25 +00:00
engine.go feat: compute policy exceptions as a part of the rule execution (#8713) 2023-11-13 15:43:25 +00:00
exceptions.go fix: set v2beta1 of exceptions the storage version (#9254) 2023-12-22 10:13:58 +00:00
forceMutate.go refactor: remove json patches from engine response (#7449) 2023-06-07 17:45:11 +08:00
forceMutate_test.go refactor: introduce jmespath interface (#6882) 2023-04-13 11:29:40 +00:00
fuzz_test.go Refactor fuzzing utils and add 3 fuzzers (#8555) 2023-10-05 16:33:26 +00:00
generation.go refactor: don't process context/preconditions in invokeHandler (#6751) 2023-04-03 12:57:48 +08:00
image_verify.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00
image_verify_test.go feat: improve assertion and error messages (#8489) 2023-09-21 12:39:54 +00:00
metrics.go Add an abstraction interface for Kyverno policies and validating admission policies (#8016) 2023-08-15 12:41:43 -07:00
mutation.go refactor: policy response (#6877) 2023-04-12 16:20:42 +00:00
mutation_test.go feat: add basic structure for image verify cache (#7890) 2023-08-06 21:54:52 +02:00
policy_context.go refactor: hide json context from caller (#7139) 2023-05-12 14:14:48 +00:00
validation.go feat: support cel expression in validate rules (#7070) 2023-05-31 14:30:55 -07:00
validation_test.go optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00