1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 17:37:12 +00:00
kyverno/test/conformance/chainsaw/mutate/e2e
Vishal Choudhary 86b8a6d0f3
feat: show violations and mutations as warning (#10214)
* feat: add audit warning to policy spec

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

* feat: emit warning when audit warning is set

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

* feat: add audit warn to policy cache

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

* feat: add warnings for validation

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

* feat: add warnings for mutation

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

* feat: add chainsaw test

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

* feat: add more chainsaw test

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

* chore: fix ci

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

* feat: rename field to emit warning

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

* fix: tests

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

* fix: unit tests

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

* fix: validate tests

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

* fix: cleanup

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

* fix: remove validation action failure fro mutation unit tests

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

---------

Signed-off-by: Vishal Choudhary <vishal.choudhary@nirmata.com>
Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
2024-09-05 10:02:00 +00:00
..
emit-warning feat: show violations and mutations as warning (#10214) 2024-09-05 10:02:00 +00:00
foreach-patchStrategicMerge-context fix: return policies with either audit or enforce rules from the cache (#10667) 2024-08-06 18:24:28 +00:00
foreach-patchStrategicMerge-preconditions chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
jmespath-logic chore: remove reference to kuttl (#9539) 2024-01-27 23:01:32 +00:00
patchesJson6902-replace chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
patchesjson6902-simple chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
patchStrategicMerge-global chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
patchStrategicMerge-global-addifnotpresent chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
simple-conditional chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00
variables-in-keys chore: convert chainsaw tests to Test resource (#9113) 2023-12-07 22:38:30 +01:00