1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-07 01:33:31 +00:00
kyverno/pkg/engine
Charles-Edouard Brétéché 91f2622384
feat: add more time jmespath filters ()
* feat: add more time jmespath filters

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

* add time_utc and time_now_utc

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

* add time_diff

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

* more time filters

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>

* Update pkg/engine/jmespath/functions.go

Signed-off-by: shuting <shutting06@gmail.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Signed-off-by: shuting <shutting06@gmail.com>
Co-authored-by: shuting <shutting06@gmail.com>
2023-01-10 04:40:46 +00:00
..
anchor add package logger in files () 2022-10-02 19:45:03 +00:00
apicall Service call () 2022-12-27 08:36:49 +00:00
common refactor: move utils into sub packages () 2023-01-03 09:33:09 +00:00
context Adding support for overriding the default registry () 2023-01-02 17:14:40 +00:00
jmespath feat: add more time jmespath filters () 2023-01-10 04:40:46 +00:00
jsonutils refactor: move util funcs in sub packages () 2022-12-22 06:39:54 +00:00
mutate fix mutate targets variable () 2023-01-04 12:35:46 +01:00
operator chore: enable gofmt and gofumpt linters () 2022-05-17 06:19:03 +00:00
resources Yaml signing and verification () 2022-08-30 10:14:54 -07:00
response feat: propagate psa checks results () 2022-12-20 05:57:23 +00:00
utils chore: move ConvertToUnstructured from engine utils to kube utils () 2023-01-03 12:02:15 +00:00
validate Nested foreach () 2022-12-12 15:20:20 +00:00
variables feat: cleanup enhancements-1 () 2023-01-04 09:03:56 +00:00
wildcards Nested foreach () 2022-12-12 15:20:20 +00:00
attestation_test.go Nested foreach () 2022-12-12 15:20:20 +00:00
background.go fix: Add subresources support to policy exceptions () 2023-01-05 06:23:44 +00:00
common.go feat: add support for subresources to validating and mutating policies () 2022-12-10 00:45:23 +08:00
common_test.go feat: add support for subresources to validating and mutating policies () 2022-12-10 00:45:23 +08:00
forceMutate.go use camel case for ForEach naming () 2022-12-12 19:24:13 +00:00
forceMutate_test.go chore: move ConvertToUnstructured from engine utils to kube utils () 2023-01-03 12:02:15 +00:00
generation.go refactor: registry client () 2022-12-07 23:08:37 +08:00
imageVerify.go fix: Add subresources support to policy exceptions () 2023-01-05 06:23:44 +00:00
imageVerify_test.go chore: move ConvertToUnstructured from engine utils to kube utils () 2023-01-03 12:02:15 +00:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters () 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go Adding support for overriding the default registry () 2023-01-02 17:14:40 +00:00
jsonContext.go Service call () 2022-12-27 08:36:49 +00:00
k8smanifest.go refactor: auth package and add full unit test coverage () 2022-12-22 13:24:37 +08:00
k8smanifest_test.go refactor: make policy context immutable and fields private () 2022-12-02 16:14:23 +08:00
loadtargets.go feat: add support for subresources to validating and mutating policies () 2022-12-10 00:45:23 +08:00
loadtargets_test.go Load mutate.targets via dclient () 2022-05-06 05:46:36 +00:00
mutation.go fix: Add subresources support to policy exceptions () 2023-01-05 06:23:44 +00:00
mutation_test.go chore: move ConvertToUnstructured from engine utils to kube utils () 2023-01-03 12:02:15 +00:00
policyContext.go refactor: move utils into sub packages () 2023-01-03 09:33:09 +00:00
utils.go fix: Configure webhook to add ephemeralcontainers for policies matching on Pod () 2023-01-06 13:40:35 +00:00
utils_test.go fix: Add subresources support to policy exceptions () 2023-01-05 06:23:44 +00:00
validation.go fix: missing user info matching () 2023-01-07 16:48:44 -08:00
validation_test.go chore: move ConvertToUnstructured from engine utils to kube utils () 2023-01-03 12:02:15 +00:00