1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 09:26:54 +00:00
kyverno/pkg/webhooks/resource
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
..
generation.go refactor: move label helper utils from policy package to background package (#3996) 2022-05-24 13:11:12 +05:30
generation_test.go refactor: separate resource mutation/validation handlers from server (#3908) 2022-05-16 22:36:21 +08:00
handlers.go feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
metrics.go feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
report.go feature: added new type of event, PolicySkipped (#4251) 2022-07-28 14:01:50 +08:00
updaterequest.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
utils.go refactor: used typed admission request in ur (#4022) 2022-05-29 07:27:14 +00:00
validate_audit.go feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00: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 add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00