1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg
Jim Bugwadia 46f02a8ba7
optimize JSON context processing using in-memory maps (#8322)
* optimize JSON context processing using in memory maps

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix excessive logs

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix mutate resource diff

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* uncomment tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* copy resource, as it can be modified

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* clear prior resource to prevent mutating original

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* linter fix

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix ImageInfo to unstructured conversion

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix custom image extractors

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* do not update mutated resource in JSON context

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* address review comments

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

---------

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: shuting <shuting@nirmata.com>
Co-authored-by: Vishal Choudhary <sendtovishalchoudhary@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2023-12-04 07:35:36 +00:00
..
auth feat: support authorizer variable in CEL expressions (#8024) 2023-09-05 10:16:50 +00:00
autogen fix: use go 1.21 new packages (#8452) 2023-09-19 12:06:53 +00:00
background fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
client fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
clients chore: bump k8s package to 1.29 (#8929) 2023-11-17 15:42:47 +08:00
config chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
controllers fix: ttl cleanup not working with cluster wide resources (#9060) 2023-12-03 00:35:13 +01:00
cosign Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
engine optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00
event fix: generate events for scanning VAPs in reports controller (#8783) 2023-10-31 13:53:28 +00:00
images Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
imageverifycache feat: update descriptions of image verify cache flags (#8770) 2023-11-02 16:10:17 +00:00
informers fix: factorise confimap informer code (#7667) 2023-06-28 04:43:16 +00:00
leaderelection Remove dependency on github.com/pkg/errors (#6165) 2023-02-01 14:38:04 +08:00
logging chore: bump k8s package to 1.29 (#8929) 2023-11-17 15:42:47 +08:00
metrics fix: allow dropping metrics, labels and configuring histogram bucket boundaries to avoid high cardinality. (#8569) 2023-10-12 09:50:27 +00:00
notary Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
policy fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
policycache chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
profiling refactor: introduce cmd internal package (#5404) 2022-11-18 22:21:15 +08:00
pss chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
registryclient Reduce deps (#8654) 2023-11-09 13:04:24 +00:00
tls refactor: remove logger from tls package (#8157) 2023-08-29 10:31:56 +00:00
toggle fix: display a message when the controller has no permissions for VAPs (#8776) 2023-11-01 21:52:03 +08:00
tracing feat: bump otel libs (#8159) 2023-08-30 08:36:58 +00:00
userinfo refactor: reduce userinfos deps and add unit tests (#6524) 2023-03-10 09:09:19 +00:00
utils fix: change names of fuzzing policies (#8947) 2023-11-20 01:05:58 +00:00
validatingadmissionpolicy feat: support vap variables in the CLI (#8182) 2023-08-30 18:03:00 +00:00
validation optimize JSON context processing using in-memory maps (#8322) 2023-12-04 07:35:36 +00:00
version fix: use golang builtin version management (#7654) 2023-06-30 23:27:06 +00:00
webhooks fix: block mutation only when failurePolicy is set to fail (#8952) 2023-11-22 17:01:46 +00:00