shuting
376a8d3b22
Reduce throttling requests for Kyverno managed resources ( #3016 )
...
* remove resoureCache from the event controller
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* create rcr using typed client to reduce PUT throttling request
Signed-off-by: ShutingZhao <shuting@nirmata.com>
2022-01-21 18:36:05 +08:00
shuting
045a58e2ef
Don't create ReportChangeRequest on managed pods/jobs deletion ( #2890 )
...
* don't generate policy report on managed pod/job
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* - don't generate rcr for managed pods/jobs; - add debug info
Signed-off-by: ShutingZhao <shuting@nirmata.com>
* address linter issues
Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-01-03 15:43:38 +00:00
Jose Armesto
831a9826d1
Restructure project to follow standards ( #2632 )
...
Signed-off-by: Jose Armesto <github@armesto.net>
2021-10-29 18:13:20 +02:00
Bricktop
fe0947dcb3
Add error handling where missing ( #2516 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-11 14:57:43 -07:00
Bricktop
23864d89c8
Ensure make invocations pass linter ( #2518 )
...
Signed-off-by: Marcel Mueller <marcel.mueller1@rwth-aachen.de>
2021-10-11 14:43:09 -07:00
shuting
6fc349716c
Switch to use annotations to store resource info in cluster/reportChangeRequest ( #1625 )
...
* skip sending API request for filtered resource
* fix PR comment
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fixes https://github.com/kyverno/kyverno/issues/1490
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fix bug - namespace is not returned properly
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* reduce throttling - list resource using lister
* refactor resource cache
* fix test
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fix label selector
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fix build failure
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fixes #1480
* store resource name and kind in (c)rcr's annotation
2021-02-19 09:09:41 -08:00
shuting
bd44dbff41
Reduce RCR Throttling ( #1545 )
...
* buffer report change requests
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fix clusterReportChangeRequest
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* further reduce RCRs in background scan
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-02-07 19:46:50 -08:00