1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/pkg/engine
Naman Lakhwani 9f3fc941ef
[imageVerify]: adding digestMutate to simplify tag-to-digest mutation (#3531)
* added digestMutate

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* rebase

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* setting always to true

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* small nit

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* make codegen

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* crds & failing rule if mutation fails

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* adding new func to fetch digest and changing naming to mutateDigest

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* small nits

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* generating crds

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* minor nit

Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

* correcting error format
Signed-off-by: Naman Lakhwani <namanlakhwani@gmail.com>

Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2022-04-22 01:08:49 -07:00
..
anchor fix mutate preprocessing for anchors (#3052) 2022-01-23 13:54:22 +00:00
common refactor: make response type (RuleType) typed (#3556) 2022-04-06 19:04:08 +00:00
context refactor: image utils (#3630) 2022-04-20 15:01:02 +00:00
jmespath Add returnType for regexMatch in kyverno jp output (#3575) 2022-04-11 08:34:14 +01:00
jsonutils refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00
mutate refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
operator *Range Operators (#2622) 2021-10-29 13:48:23 +02:00
response refactor: make response type (RuleType) typed (#3556) 2022-04-06 19:04:08 +00:00
utils Image verify attestors (#3614) 2022-04-19 08:35:12 -07:00
validate Image verify attestors (#3614) 2022-04-19 08:35:12 -07:00
variables refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
wildcards refactor: move some helpers in utils package (#3539) 2022-04-04 18:58:22 +00:00
apiPath.go Set Version to Group/Version for /apis/* URLs 2021-03-06 00:22:12 -05:00
apiPath_test.go Add unit test 2021-03-08 22:56:14 -05:00
forceMutate.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go refactor: make use of policy interface (#3499) 2022-03-30 18:34:30 +05:30
imageVerify.go [imageVerify]: adding digestMutate to simplify tag-to-digest mutation (#3531) 2022-04-22 01:08:49 -07:00
imageVerify_test.go Multiple keys (#3636) 2022-04-22 07:10:02 +00:00
jsonContext.go [imageVerify]: adding digestMutate to simplify tag-to-digest mutation (#3531) 2022-04-22 01:08:49 -07:00
jsonContext_test.go Cleanup imports (#2635) 2021-10-29 12:24:26 +02:00
mutation.go Image verify attestors (#3614) 2022-04-19 08:35:12 -07:00
mutation_test.go refactor cli code from pkg to cmd (#3591) 2022-04-14 12:20:18 +00:00
policyContext.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
utils.go refactor: make response type (RuleType) typed (#3556) 2022-04-06 19:04:08 +00:00
utils_test.go refactor: make use of policy interface (#3499) 2022-03-30 18:34:30 +05:30
validation.go Image verify attestors (#3614) 2022-04-19 08:35:12 -07:00
validation_test.go refactor cli code from pkg to cmd (#3591) 2022-04-14 12:20:18 +00:00