1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/utils
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
..
admission chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
api refactor: move ImageExtractorConfigs in api package (#3781) 2022-05-03 08:45:08 +00:00
controller Wait for informers' cache to be synced before starting controllers (#4155) 2022-06-28 04:55:52 +00:00
engine chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
image add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
json Fix merging JSON patches (#4202) 2022-07-11 09:26:31 +05:30
kube feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
os refactor: add os utils sub package (#3528) 2022-04-01 06:59:44 +00:00
string refactor: move some helpers in utils package (#3539) 2022-04-04 18:58:22 +00:00
yaml refactor: separate yaml utils package (#3520) 2022-04-01 09:56:16 +00:00
annotations.go Fix merging JSON patches (#4202) 2022-07-11 09:26:31 +05:30
annotations_test.go feat: mutate existing resources (#3669) 2022-04-25 12:20:40 +00:00
loadpolicy.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
util.go fix external.metrics.k8s.io/v1beta1 issue (#4139) 2022-07-01 03:00:05 +00:00
util_test.go refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00