1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/pkg/policy
shuting d5f6167e56
Fix flaky e2e tests for generate policies (#3681)
* fix flaky generate e2e tests

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

* enable validate, verifyimage e2e tests

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

* set policy names different within a single test

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

* do not delete cloned resource when sync generate policy is deleted

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

* replace grLister by urLister

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

* re-queue pending URs only to fix clone policy deletion

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

* remove duplicate import

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

Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
2022-04-26 19:18:24 +00:00
..
common updates for foreach and mutate (#2891) 2022-01-05 09:36:33 +08:00
generate fix: CRD generation (#3334) 2022-03-06 11:07:51 -08:00
mutate fix: CRD generation (#3334) 2022-03-06 11:07:51 -08:00
validate Fixes #3555 (#3558) 2022-04-08 22:54:35 +08:00
actions.go updates for foreach and mutate (#2891) 2022-01-05 09:36:33 +08: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 refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
background.go feat: mutate existing resources (#3669) 2022-04-25 12:20:40 +00:00
background_test.go redo variable validation (#2647) 2021-11-03 11:16:55 -07:00
common.go refactor: move some helpers in utils package (#3539) 2022-04-04 18:58:22 +00:00
existing.go refactor: metrics package (#3549) 2022-04-07 02:14:13 +08:00
metrics.go refactor: metrics package (#3549) 2022-04-07 02:14:13 +08:00
policy_controller.go Fix flaky e2e tests for generate policies (#3681) 2022-04-26 19:18:24 +00:00
report.go fix: reduce dependency to ns lister (#3509) 2022-03-31 12:48:36 +05:30
utils.go fixes #1399 (#1400) 2020-12-15 15:21:39 -08:00
validate.go Allow definition of inline variables in context (#3658) 2022-04-25 19:06:07 +08:00
validate_test.go refactor: match and exclude conflict validation (#3454) 2022-03-23 17:04:17 +05:30