1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 01:46:55 +00:00
kyverno/pkg/background/generate
Vishal Choudhary f2833861f8
fix: properly update policy context after preexisting resource in violation check (#9893)
* fix: properly update policy context after preexisting resource in violation check

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

* chore: remove all copy function usages

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

* chore: nit

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

* refactor context resource swap

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

* feat: chainsaw tests

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

* fix: test:

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

* fix: logger panic

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: copy cover policycontext

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
Co-authored-by: ShutingZhao <shuting@nirmata.com>
2024-03-13 16:24:53 +00:00
..
cleanup.go fix: properly update policy context after preexisting resource in violation check (#9893) 2024-03-13 16:24:53 +00:00
clone.go feat: Add support for server-side-apply in generate rules (#7705) 2023-08-02 17:59:37 +00:00
data.go fix: array element removal should be synced to the downstream resource with a generate data sync rule (#7417) 2023-06-06 12:07:07 +02:00
generate.go fix: clean up URs if the trigger doesn't exist (#9355) 2024-01-09 10:30:31 +01:00
response.go fix: array element removal should be synced to the downstream resource with a generate data sync rule (#7417) 2023-06-06 12:07:07 +02:00
source.go fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
utils.go fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
validate.go refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
validate_test.go refactor generate controller (#3589) 2022-04-13 12:45:04 +00:00