1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
yinka fcf27bb035
fix: change inrange operator regexs (#5962)
* fix inrange operator regexs

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add support for + sign

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add support for leftEndpoint + sign

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* update regexs

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add range operator tests in client code

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* extract range values

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add cases

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add test

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* fix test

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* add cli test

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* clean up code

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* fix lint error

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>

* fix kuttl test

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* regex nits

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* fix

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: damilola olayinka <holayinkajr@gmail.com>
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-01-16 16:23:36 +01:00
..
anchor add package logger in files (#4766) 2022-10-02 19:45:03 +00:00
apicall Service call (#5755) 2022-12-27 08:36:49 +00:00
common refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
context Adding support for overriding the default registry (#4715) 2023-01-02 17:14:40 +00:00
jmespath feat: add more time jmespath filters (#5950) 2023-01-10 04:40:46 +00:00
jsonutils refactor: move util funcs in sub packages (#5754) 2022-12-22 06:39:54 +00:00
mutate fix mutate targets variable (#5862) 2023-01-04 12:35:46 +01:00
operator fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
pattern fix: change inrange operator regexs (#5962) 2023-01-16 16:23:36 +01:00
resources Yaml signing and verification (#4235) 2022-08-30 10:14:54 -07:00
response feat: propagate psa checks results (#5719) 2022-12-20 05:57:23 +00:00
utils chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00
validate refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
variables refactor: engine pattern package and add duration support (#5958) 2023-01-10 14:07:26 +01:00
wildcards Nested foreach (#5589) 2022-12-12 15:20:20 +00:00
attestation_test.go Nested foreach (#5589) 2022-12-12 15:20:20 +00:00
background.go fix: Add subresources support to policy exceptions (#5839) 2023-01-05 06:23:44 +00:00
common.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
common_test.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
forceMutate.go use camel case for ForEach naming (#5660) 2022-12-12 19:24:13 +00:00
forceMutate_test.go chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00
generation.go refactor: registry client (#5596) 2022-12-07 23:08:37 +08:00
imageVerify.go fix imageRef matching (#5956) 2023-01-10 09:44:31 +00:00
imageVerify_test.go chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go Adding support for overriding the default registry (#4715) 2023-01-02 17:14:40 +00:00
jsonContext.go Service call (#5755) 2022-12-27 08:36:49 +00:00
k8smanifest.go refactor: auth package and add full unit test coverage (#5749) 2022-12-22 13:24:37 +08:00
k8smanifest_test.go refactor: make policy context immutable and fields private (#5523) 2022-12-02 16:14:23 +08:00
loadtargets.go feat: add support for subresources to validating and mutating policies (#4916) 2022-12-10 00:45:23 +08:00
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go fix: Add subresources support to policy exceptions (#5839) 2023-01-05 06:23:44 +00:00
mutation_test.go chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00
policyContext.go refactor: move utils into sub packages (#5828) 2023-01-03 09:33:09 +00:00
utils.go refactor: match utils package (#5961) 2023-01-10 12:16:59 -08:00
utils_test.go fix: policy match Kind case-senstive (#6008) 2023-01-16 16:01:05 +08:00
validation.go fix: policy exceptions not working in background mode (#5980) 2023-01-13 10:58:02 +00:00
validation_test.go chore: move ConvertToUnstructured from engine utils to kube utils (#5847) 2023-01-03 12:02:15 +00:00