1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00
kyverno/test
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
..
best_practices Fix: namespace quota policy failed to be applied for two resources named ResourceQuota with different APIVersions (#2612) 2022-01-20 12:48:52 +05:30
cli Allow definition of inline variables in context (#3658) 2022-04-25 19:06:07 +08:00
e2e fix: webhooks are not configured correctly (#3660) 2022-04-25 15:19:39 +00:00
more Remove sample Dir and Remove testcases from test_runner (#1686) 2021-03-16 14:35:32 -07:00
output fix tests 2021-10-06 21:50:26 -07:00
policy Bug fix: negation of string kernel version caused Cluster Policy to fail (#3229) 2022-02-17 09:33:30 +05:30
resources fix tests 2021-10-06 21:50:26 -07:00
scenarios updates for foreach and mutate (#2891) 2022-01-05 09:36:33 +08:00