1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-14 19:58:45 +00:00
kyverno/pkg/engine
Pooja Singh 88d1617390
Resolving variables from the resource passed | CLI (#2180)
* added logic for adding resources in context

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* small fix

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* returning error if request.object is passed from cmd

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* reterning error if request.object is passed from value file

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* removing comments

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* small fix

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* handling context for delete operation

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>

* small fix for test command

Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
2021-07-23 11:32:48 -07:00
..
anchor Patch strategic merge preprocessing: implement anchor handling (#2156) 2021-07-23 10:53:37 -07:00
common Fix #1506; Resolve path reference in entire rule instead of just pattern/overlay 2021-03-16 13:45:40 +02:00
context Resolving variables from the resource passed | CLI (#2180) 2021-07-23 11:32:48 -07:00
jmespath Add function label_match, to use matchLabel in JMESPath, usage: label_match(labels_from_network_policy, labels_from pod) bool, Remove validation for JMESPath (#1862) 2021-05-04 09:28:30 -07:00
json-utils Fix #1506; Resolve path reference in entire rule instead of just pattern/overlay 2021-03-16 13:45:40 +02:00
mutate Patch strategic merge preprocessing: implement anchor handling (#2156) 2021-07-23 10:53:37 -07:00
operator fix gofmt and golint issues (#667) 2020-02-03 13:38:24 -08:00
response Feature/cosign (#2078) 2021-07-09 18:01:46 -07:00
utils fmt and improve error messages 2021-07-20 20:28:11 -07:00
validate Patch strategic merge preprocessing: implement anchor handling (#2156) 2021-07-23 10:53:37 -07:00
variables turn preconditions error to info log (#1926) 2021-07-07 17:37:44 +05:30
wildcards updating minio verison (#1956) 2021-06-09 19:16:26 -07: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 Patch strategic merge preprocessing: implement anchor handling (#2156) 2021-07-23 10:53:37 -07:00
forceMutate_test.go Patch strategic merge preprocessing: implement anchor handling (#2156) 2021-07-23 10:53:37 -07:00
generation.go turn preconditions error to info log (#1926) 2021-07-07 17:37:44 +05:30
imageVerify.go check for changes 2021-07-20 09:36:12 -07:00
jsonContext.go Changed error to info for NotFoundError in jsonContext (#2140) 2021-07-14 14:50:28 -07:00
jsonContext_test.go feat: added functionality for delimiting multi-line block by newline characters 2021-03-01 00:46:50 +05:30
mutation.go fix linter issue 2021-07-22 14:37:09 -07:00
mutation_test.go update JSON context with patched resource for chained mutate rules 2021-07-22 14:23:03 -07:00
policyContext.go namespace selector (#1532) 2021-02-03 13:09:42 -08:00
utils.go Apply pod's rules if the owner is not k8s pod-controllers (#2107) 2021-07-09 14:44:38 +05:30
utils_test.go Apply pod's rules if the owner is not k8s pod-controllers (#2107) 2021-07-09 14:44:38 +05:30
validation.go Changed error to info for NotFoundError in jsonContext (#2140) 2021-07-14 14:50:28 -07:00
validation_test.go Jmespath notfound error (#1907) 2021-07-01 22:56:50 -07:00