1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-06 09:13:31 +00:00
kyverno/pkg/webhooks
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
..
exception refactor: remove more admission request pointers (#6774) 2023-04-04 13:11:18 +08:00
globalcontext feat: add global context entry validation webhook (#9619) 2024-02-02 18:04:50 +01:00
handlers feat:Webhook config per policy (#9483) 2024-01-27 13:00:22 +00:00
policy feat: enhance global context (#9710) 2024-02-23 10:34:04 +00:00
resource fix: properly update policy context after preexisting resource in violation check (#9893) 2024-03-13 16:24:53 +00:00
updaterequest chore: cleanup generate codebase (#6598) 2023-03-17 08:36:06 +00:00
utils fix: Policies skipped because of preconditions not met should not be included in admission requests denial responses (#9719) 2024-02-20 15:42:18 +00:00
log.go add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
server.go feat: add global context entry validation webhook (#9619) 2024-02-02 18:04:50 +01:00