1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Commit graph

2951 commits

Author SHA1 Message Date
lengrongfu
fab777cdd5
add logging for policy creation and deletion events (#1445)
* add logging for policy creation and deletion events

* update log message

* update log message kind type

Co-authored-by: lengrongfu <lengrongfu@baidu.com>
2021-01-06 20:34:01 -08:00
shuting
52d091c5a3
Improve / clean up code (#1444)
* Remove lock embedded in CRD controller, use concurrent map to store shcemas

* delete rcr info from data store

* skip policy validation on status update

* - remove status check in policy mutation; - fix test

* Remove fqdncn flag

* add flag profiling port

* skip policy mutation & validation on status update

* sync policy status every minute

* update log messages
2021-01-06 16:32:02 -08:00
shuting
35aa3149c8
Remove lock embedded in CRD controller, use concurrent map to store shcemas (#1441) 2021-01-04 23:17:17 -08:00
Pooja Singh
9397a2f157
Merge pull request #1440 from NoSkillGirl/bug/generate_refactoring
Bug/generate refactoring
2021-01-04 23:10:25 +05:30
Pooja Singh
51a2b6dc0f
Merge pull request #1439 from NoSkillGirl/cleanup/generate_logs
cleanup/generate_logs
2021-01-04 23:09:55 +05:30
NoSkillGirl
b4f473ec23 added crypto package 2021-01-04 19:10:36 +05:30
NoSkillGirl
e67747260b generate refactorings 2021-01-04 15:19:06 +05:30
NoSkillGirl
df009cb2d4 remove resource details from log for log level higher than 3 2021-01-04 12:33:00 +05:30
Jim Bugwadia
e23a25b68c release v1.3.0-rc11 2021-01-03 20:41:00 -08:00
Pooja Singh
72d35572d4
Merge pull request #1432 from realshuting/bug_fix
Set CRD controller to reconcile every 15 mins
2021-01-03 23:05:19 +05:30
Shuting Zhao
3fc4562e1b set CRD controller to reconcile every 15 mins 2021-01-03 00:14:27 -08:00
Jim Bugwadia
cb06e64e03 release 1.3.0-rc10 2021-01-02 01:26:42 -08:00
Jim Bugwadia
900a5bbf0a
Merge pull request #1428 from kyverno/1427_fix_validate_on_delete
skip validation patterns for delete requests
2021-01-02 01:22:52 -08:00
Jim Bugwadia
68474a9dd2 skip validation patterns for delete requests 2021-01-02 01:10:14 -08:00
Jim Bugwadia
c4296d2282 release 1.3.0-rc9 2021-01-01 17:15:01 -08:00
Jim Bugwadia
5edb8b3ee6
Merge pull request #1405 from NoSkillGirl/bug/1374_generate_rule_with_synchronization
enqueing gr on getting deleted
2020-12-31 16:40:01 -08:00
NoSkillGirl
887fa10049 added source label logic to validate policy 2020-12-30 12:10:41 +05:30
NoSkillGirl
bbb5dc01a7 added error handling 2020-12-30 02:38:27 +05:30
NoSkillGirl
aa12d99096 retrying GR update 2020-12-30 02:04:10 +05:30
NoSkillGirl
fabe9ee8aa added update logic in ResourceMutation 2020-12-30 00:12:36 +05:30
NoSkillGirl
c66e2a7058 adding label to clone source 2020-12-29 18:04:20 +05:30
NoSkillGirl
1412b922f7 folder structure refactoring 2020-12-29 16:47:54 +05:30
NoSkillGirl
c98240d5dc making sure older labels are not removed 2020-12-29 16:36:43 +05:30
NoSkillGirl
dfaeaa7f8e add lables update fix 2020-12-29 16:35:48 +05:30
NoSkillGirl
9913af0253 adding GR for older GR's 2020-12-29 15:35:12 +05:30
NoSkillGirl
eef15dff89 changed synchronize label 2020-12-29 00:05:29 +05:30
NoSkillGirl
430184add4 updated comment 2020-12-28 13:28:26 +05:30
NoSkillGirl
ed868652ae removing goroutine 2020-12-24 18:45:46 +05:30
Pooja Singh
2239ca48bd
Merge pull request #1 from NoSkillGirl/bug/1374_generate_rule_with_clone
fixed updation of clone source
2020-12-24 18:41:51 +05:30
NoSkillGirl
bf7356d8f6 fixed updation of clone source 2020-12-24 18:39:23 +05:30
NoSkillGirl
371b79fc36 small fix 2020-12-24 12:41:54 +05:30
NoSkillGirl
0a84225dff goroutine added for GR 2020-12-24 12:29:28 +05:30
NoSkillGirl
ddc17d1983 fixed syntax error 2020-12-24 12:28:32 +05:30
NoSkillGirl
068ec5922f changed label prefix 2020-12-24 12:28:32 +05:30
NoSkillGirl
56c89eb320 fixing labels 2020-12-24 12:28:32 +05:30
NoSkillGirl
a2f3709985 corrected label 2020-12-24 12:28:32 +05:30
NoSkillGirl
53e2e38cd3 enqueing gr on getting deleted 2020-12-24 12:28:32 +05:30
Jim Bugwadia
58feb4f0ae
Merge pull request #1417 from kyverno/1337_match_old_resource
update validation logic
2020-12-23 19:01:15 -08:00
Jim Bugwadia
d3a65a0b2a fix patch resource in response 2020-12-23 18:51:07 -08:00
Jim Bugwadia
204c1f79fb fix validate response 2020-12-23 18:46:12 -08:00
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
Jim Bugwadia
ed232ba118 add test case 2020-12-23 15:57:12 -08:00
Jim Bugwadia
e2f10c6f83 update validation logic 2020-12-23 15:10:07 -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
Pooja Singh
a3725ab0cc
Merge pull request #1412 from NoSkillGirl/policyReport_CLI_testcases
Policy report cli testcases
2020-12-22 14:12:34 +05:30
Gregory May
a6be0912ae
add Seccomp securityContext example (#1411)
Signed-off-by: gmay <mrgregmay@gmail.com>
2020-12-21 11:04:41 -08:00
shuting
3c5f9f8888
1398 - Reduce RCR throttling requests (#1406)
* 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
2020-12-21 11:04:19 -08:00
NoSkillGirl
be111d6282 simplified testcases 2020-12-20 02:43:07 +05:30
NoSkillGirl
8a8b861f54 added pass and fail test cases 2020-12-20 02:37:09 +05:30
NoSkillGirl
77a7ce3708 refactoring apply 2020-12-20 01:21:31 +05:30