1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 23:46:56 +00:00
kyverno/pkg/engine/variables/operator
Shubham Singh dbc12ac2be
[Bug] Enabling many-to-one comparisons for AnyNotIn operator (#9462)
* added cases for int, float

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* added bool as well

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* added tests

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* some more tests

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* go fmt

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

* fixed the failing test cases

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>

---------

Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
Co-authored-by: shuting <shuting@nirmata.com>
2024-04-22 12:12:08 +00:00
..
allin.go chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
allnotin.go feat: enable operator boolean comparison (#7847) 2023-07-19 16:54:33 +00:00
allnotin_test.go [Chore] Bump to Go 1.20 (#6683) 2023-04-03 11:40:47 +00:00
anyin.go [Bug] Enabling many-to-one comparisons for AnyNotIn operator (#9462) 2024-04-22 12:12:08 +00:00
anynotin.go feat: enable operator boolean comparison (#7847) 2023-07-19 16:54:33 +00:00
anynotin_test.go [Bug] Enabling many-to-one comparisons for AnyNotIn operator (#9462) 2024-04-22 12:12:08 +00:00
duration.go Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
equal.go chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
in.go chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
notequal.go chore: move utils/wildcard in ext (#8772) 2023-10-29 23:59:53 +00:00
notin.go feat: enable operator boolean comparison (#7847) 2023-07-19 16:54:33 +00:00
numeric.go Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
operator.go Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
utils.go feat: add fail/warn on deprecated/invalid operators (#8624) 2024-01-31 08:40:28 +00:00