1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 15:37:19 +00:00
kyverno/test/e2e
Ioannis Bouloumpasis a205bc3e2e
fix: webhooks are not configured correctly (#3660)
* Fix webhook rules equality when internal is empty

The current implementation of the 'webhookRulesEqual' didn't check for
the corner case were both the internal representation and the API have
length of one, but the internal representation has 1 rule with no
selectors.
In this case the 'webhookRulesEqual' should return false, as the 2
configurations are not the same.

Signed-off-by: Ioannis Bouloumpasis <buluba@arrikto.com>

* Fix tests

Add a small time delay when checking if a Policy is ready in tests to
ensure that the Policy is actually ready.

Signed-off-by: Ioannis Bouloumpasis <buluba@arrikto.com>
2022-04-25 15:19:39 +00:00
..
common fix: webhooks are not configured correctly (#3660) 2022-04-25 15:19:39 +00:00
generate tighten and clarify Kyverno roles and permissions (#2799) 2021-12-10 04:34:06 +00:00
metrics Feature/cosign (#2078) 2021-07-09 18:01:46 -07:00
mutate e2e test for mutate global anchor Policy (#2574) 2022-03-14 09:15:06 +00:00
validate Add image data to validate image configs (#2946) 2022-01-17 04:06:44 +00:00
verifyimages Add support for custom image extractors (#3596) 2022-04-14 09:08:30 -07:00
utils.go add new test; remove unnecessary anchors (#2217) 2021-09-09 08:55:20 -07:00