1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/pkg/policy
Bricktop 962f4de8d8
Only report on intended errors when checking JSONPatch path for variables (#2710)
* Only report on intended errors

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>

* Change error text to be more fitting

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>

* Replace vars for checks

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>

* Remove more checks for testing

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>

* Disable schema validation

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>

* Remove unneeded fmt prints

Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-11-30 17:14:58 +00:00
..
common Format error messages correctly (#2519) 2021-10-12 14:29:20 -07:00
generate Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
mutate Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
validate Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
actions.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
allowed_vars_test.go Only report on intended errors when checking JSONPatch path for variables (#2710) 2021-11-30 17:14:58 +00:00
apply.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
background.go redo variable validation (#2647) 2021-11-03 11:16:55 -07:00
background_test.go redo variable validation (#2647) 2021-11-03 11:16:55 -07:00
common.go Do not log error when resource is not namespaced (#2730) 2021-11-17 15:09:00 +01:00
existing.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
metrics.go Restructure project to follow standards (#2632) 2021-10-29 18:13:20 +02:00
policy_controller.go redo variable validation (#2647) 2021-11-03 11:16:55 -07:00
report.go Fix bug in event creation for failed policies (#2652) 2021-11-03 11:55:58 +01:00
utils.go fixes #1399 (#1400) 2020-12-15 15:21:39 -08:00
validate.go Only report on intended errors when checking JSONPatch path for variables (#2710) 2021-11-30 17:14:58 +00:00
validate_test.go Only report on intended errors when checking JSONPatch path for variables (#2710) 2021-11-30 17:14:58 +00:00