1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
kyverno/pkg/policy
shuting fe8c429e78
fix: avoid creating duplicate urs for background policies (#10431)
* feat: add generator abstraction

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: replace urgenerator

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: ko build

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: load threshold from kyverno configmap

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: add metadata client to get ur count

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: add helm option to preserve configmap settings during upgrade

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* feat: add helm option to preserve configmap settings during upgrade 2

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: rename imports

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update codegen manifests

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: handle nil value

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: linter issue

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* chore: update threshold to 1000

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: avoid duplicate URs creation

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: revert false changes

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* fix: simplify background applications

Signed-off-by: ShutingZhao <shuting@nirmata.com>

---------

Signed-off-by: ShutingZhao <shuting@nirmata.com>
2024-06-12 15:23:53 +00:00
..
auth fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
common Replaces manually written logic with regex for matching anchor elements (#6133) 2023-01-30 12:17:19 +00:00
generate fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
mutate fix: kyverno apply panic for mutate policies (#9492) 2024-01-24 09:37:48 +00:00
validate fix: add podSecurity validation checks for exceptions (#9817) 2024-02-28 08:21:10 +00:00
generate.go fix: avoid creating duplicate urs for background policies (#10431) 2024-06-12 15:23:53 +00:00
mutate.go fix: avoid creating duplicate urs for background policies (#10431) 2024-06-12 15:23:53 +00:00
policy_controller.go fix: avoid creating duplicate urs for background policies (#10431) 2024-06-12 15:23:53 +00:00
updaterequest.go fix: generate policy fails if triggered resource name exceeds 63 characters limit (#8466) 2023-11-06 10:37:13 +00:00
utils.go fix: process the matched resources only for mutate existing policies (#10164) 2024-05-20 12:40:53 +00:00
utils_test.go fix: process the matched resources only for mutate existing policies (#10164) 2024-05-20 12:40:53 +00:00