Shuting Zhao
|
c3360b7389
|
make the number of generate workers configurable
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-03-22 19:14:06 -07:00 |
|
Pooja Singh
|
bcc19971eb
|
skip GRs for spec being same in old and updated policy (#1723)
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
|
2021-03-19 15:33:52 -07:00 |
|
Pooja Singh
|
c148573d48
|
issue fixed (#1558)
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
|
2021-02-08 10:36:39 -08:00 |
|
Pooja Singh
|
32522e7827
|
namespace selector (#1532)
* updated crd with namespace selector
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added logic for validate
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added condition in utils for namespace labels
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added function for extracting namespace label using lister
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added logic for generate
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added lister in generate
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* commented generate controller changes
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added ns lister
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added ns label in apply.go
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added ns label in generation.go
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added ns label in mutation.go
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added ns label for validation
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* using dynaminc informer
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
|
2021-02-03 13:09:42 -08:00 |
|
shuting
|
c692263177
|
Refactor resourceCache; Reduce throttling requests (background controller) (#1500)
* 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>
|
2021-01-29 17:38:23 -08:00 |
|
Jim Bugwadia
|
05da4190f8
|
handle discovery errors for metrics API group (#1494)
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
|
2021-01-24 11:34:02 -08:00 |
|
NoSkillGirl
|
eef15dff89
|
changed synchronize label
|
2020-12-29 00:05:29 +05:30 |
|
NoSkillGirl
|
068ec5922f
|
changed label prefix
|
2020-12-24 12:28:32 +05:30 |
|
NoSkillGirl
|
53e2e38cd3
|
enqueing gr on getting deleted
|
2020-12-24 12:28:32 +05:30 |
|
shuting
|
2fc3b3b998
|
Fixes 1410 strategic merge patch (#1414)
* fixes #1410
* fix unit test
* re-initialize worker immediately on failure
|
2020-12-23 17:48:00 -08:00 |
|
shuting
|
d0347afa59
|
Fix invalid failure event for generate policy (#1413)
* reduce RCR throttling requests by merging policy application (policy - namespace) results into single RCR
* - refactor policy controller; - fix RCR issue
* - refactor RCR controller; - fix cpolr on ns update; - reduce throttling when getting resources; - fix tests
* update CRD schema
* fix typo
* fix invalid generate failure event
|
2020-12-22 11:07:31 -08:00 |
|
Jim Bugwadia
|
ad9f189144
|
merge main
|
2020-12-14 16:08:01 -08:00 |
|
Pooja Singh
|
bff7229678
|
1345 use GR lister (#1387)
* improved log message
* added lister for GR
* added label to GR
* added wait for cache is sync
|
2020-12-14 14:52:13 -08:00 |
|
Jim Bugwadia
|
b25a037113
|
fix generate clone/data check
|
2020-12-14 02:43:16 -08:00 |
|
shuting
|
630a9cc94c
|
Fix Kyverno crash when CRD is not installed (#1353)
* ignore Kyverno CRDs existence check when server is not available
* clean up cluster / reportChangeRequest
* resolve PR comments
|
2020-12-03 19:19:36 -08:00 |
|
shuting
|
2ec5a0fa42
|
1319 fix throttling (#1348)
* fix policy status and generate controller issues
* shorten ACTION column name
* update logs
* improve naming
* add temp logs for troubleshooting
* cleanup logs
* apply generate policy to old & new resource in webhook
* cleanup log messages
* cleanup log messages
* cleanup log messages
* fix clean up of policy report in init container
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
|
2020-12-01 12:30:08 -08:00 |
|
Jim Bugwadia
|
2344b2c305
|
1319 fix throttling (#1341)
* fix policy status and generate controller issues
* shorten ACTION column name
* update logs
Co-authored-by: Shuting Zhao <shutting06@gmail.com>
|
2020-11-30 11:22:20 -08:00 |
|