1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00
kyverno/pkg/engine
Jim Bugwadia 4aa0767728
add applyRules to control whether one or all rules are applied (#4196)
* add ruleSelector

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix selector logic for skipped rules

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* change names

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix generated paths

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix linter issues

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add image variable to context when rule processing starts

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix messages

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* update generate rules

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

Co-authored-by: shuting <shuting@nirmata.com>
2022-07-29 15:02:26 +08:00
..
anchor chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
common chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
context add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
jmespath chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
jsonutils refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00
mutate chore: enable ifshort linter (#3945) 2022-05-17 18:55:13 +00:00
operator chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
response feature: added new type of event, PolicySkipped (#4251) 2022-07-28 14:01:50 +08:00
utils chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
validate chore: enble gci linter (#3930) 2022-05-17 07:56:48 +02:00
variables fix: Stop incorrect any block condition logging (#4107) 2022-06-15 15:39:24 +00:00
wildcards chore: enable whitespace linter (#3864) 2022-05-10 17:01:29 +00:00
apiPath.go chore: enable whitespace linter (#3864) 2022-05-10 17:01:29 +00:00
apiPath_test.go Add unit test 2021-03-08 22:56:14 -05:00
attestation_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
background.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
forceMutate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
forceMutate_test.go refactor: engine context (#3563) 2022-04-09 11:52:50 +00:00
generation.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
imageVerify.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
imageVerify_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
imageVerifyMetadata.go chore: enable gofmt and gofumpt linters (#3931) 2022-05-17 06:19:03 +00:00
imageVerifyValidate.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
jsonContext.go Feature: Add support for allowing insecure registries. (#3983) 2022-05-25 11:03:36 +02:00
loadtargets.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
loadtargets_test.go Load mutate.targets via dclient (#3797) 2022-05-06 05:46:36 +00:00
mutation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
mutation_test.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
policyContext.go chore: make dclient import aliases consistent (#3951) 2022-05-17 14:40:51 +00:00
utils.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
utils_test.go handle subresources (#3841) 2022-05-09 18:50:50 -07:00
validation.go add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
validation_test.go [Bugbash] Kceu22 bugbash/fix staticcheck warnings (#3917) 2022-05-14 22:04:35 +01:00