1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
Commit graph

48 commits

Author SHA1 Message Date
shivkumar dudhani
e7b538be79 add process existing for mutation & validation + come cleanup 2019-08-13 11:32:12 -07:00
shivkumar dudhani
1e621146be test policy engine on admission requests 2019-08-09 16:55:43 -07:00
shivkumar dudhani
373d9a45ad clean up mutation 2019-08-09 12:59:37 -07:00
shivkumar dudhani
94a6f1a71a match % exclude resources 2019-07-23 23:34:03 -04:00
shivkumar dudhani
cdc17f999d process existing for generate & annotations 2019-07-23 03:07:11 -04:00
Shuting Zhao
9fd59297f8 remove rule name in failure even info 2019-07-19 17:52:24 -07:00
shivkumar dudhani
0a1185d1fd correct unit tests 2019-06-28 17:11:19 -07:00
Shuting Zhao
b63b3b869e create event from policy info 2019-06-26 18:04:50 -07:00
shivkumar dudhani
059993a78f rule info uses type of rule 2019-06-25 23:58:28 -07:00
shivkumar dudhani
b7655ae747 introduce info struct for engine responses 2019-06-25 18:16:02 -07:00
belyshevdenis
46cbbf9568 Implemented validation across same yaml 2019-06-20 18:21:55 +03:00
Denis Belyshev
ed7dfb63d6 Fixed issue with nested anchors 2019-06-13 17:33:58 +03:00
Denis Belyshev
9bacfe4363 Implemented at least one exists logic 2019-06-13 17:20:00 +03:00
Denis Belyshev
f89168f77a Wrote additional comments 2019-06-12 12:21:52 +03:00
Denis Belyshev
c9df93ce99 Added merge of results in map validation logic 2019-06-10 17:10:05 +03:00
Denis Belyshev
97be6ad379 Added comments and refactored array processing validation logic 2019-06-10 17:07:03 +03:00
shivdudhani
200f3fce63 refactor code 2019-06-05 17:43:59 -07:00
Denis Belyshev
50610af82d Added nil support 2019-06-05 17:35:34 +03:00
Denis Belyshev
3add83c1fc Fixed output of validation messages.
Added test whcih validates ImagePullPolicy.
2019-06-05 15:02:58 +03:00
Denis Belyshev
e571f730b2 127: Implemented usage of result package in validation and mutation functions. 2019-06-05 13:43:07 +03:00
belyshevdenis
18842b81a1 Fixed bug #117
Added validation tests
2019-06-04 17:33:21 +03:00
shivdudhani
c205cca38b introduce glog, remove log.logger references 2019-05-30 12:28:56 -07:00
Denis Belyshev
2a24f8dc3b Fixed issue: null corresponds for non-existing field, 0 for ints and empty quotes for strings 2019-05-28 20:30:48 +01:00
Denis Belyshev
f57422ef79 Fixed issue when number comes from resource as string and does not being validated 2019-05-28 14:25:29 +03:00
Denis Belyshev
22b942d229 Added bool support 2019-05-27 18:21:23 +03:00
Denis Belyshev
435a19152a I have finished implementing patterns 2019-05-27 18:07:24 +03:00
kacejot
9bea87ec75 Merge branch 'master' into mutating-overlay 2019-05-22 14:58:42 +01:00
shuting
de83a16493 rename pkg to kyverno 2019-05-21 11:00:09 -07:00
Maxim Goncharenko
302090cd86 Implemented base for Mutation Overlay 2019-05-21 18:27:56 +03:00
shuting
91b7a1b9ac - handle operation remove case: if path does not exist - remove duplicate log - support validate in CLI 2019-05-20 15:14:01 -07:00
Maxim Goncharenko
500e8d7e16 Fixed string and float type mismatches 2019-05-20 18:28:54 +03:00
Maxim Goncharenko
0aebb2a88e Fixed int and float types mismatch 2019-05-20 17:07:09 +03:00
Maxim Goncharenko
8f3361e96b Fixed issue with no message on errorness validation for user 2019-05-20 15:41:23 +03:00
Maxim Goncharenko
be13b041b6 Fixed issue with validation error messages 2019-05-20 14:48:38 +03:00
Maxim Goncharenko
12c5274718 I have applied notes from review 2019-05-17 14:51:54 +03:00
Maxim Goncharenko
a6bb4b8564 Refactored the operator logic 2019-05-17 14:22:03 +03:00
Maxim Goncharenko
0a486a7f54 I have finished implementing validation logic using TDD 2019-05-17 14:03:06 +03:00
Maxim Goncharenko
354287ebb4 Fixed issue with checking parentheses 2019-05-16 21:36:30 +03:00
Maxim Goncharenko
7f3500a6fb Fixed errors in type validation 2019-05-16 19:31:02 +03:00
Maxim Goncharenko
8e65521775 Finished implementing validation patterns 2019-05-16 17:37:05 +03:00
Maxim Goncharenko
281dc257b9 Reworking validation logic due to the anchor feature 2019-05-15 19:25:49 +03:00
Maxim Goncharenko
113fe517b4 Merge branch 'develop' into lists-validation 2019-05-15 15:59:06 +03:00
Maxim Goncharenko
10e8d2cfe0 Moved common utils for mutation, validation and generation to pkg/engine/utils 2019-05-15 14:25:32 +03:00
shuting
a36bb2fbac Implement Generate() 2019-05-14 18:20:41 -07:00
shuting
5dedbd844a Merge branch 'develop' into 28-Stateless-policy-engine
# Conflicts:
#	pkg/controller/processPolicy.go
#	pkg/engine/engine.go
#	pkg/engine/mutation.go
#	pkg/engine/mutation/patches.go
#	pkg/engine/validation.go
#	pkg/webhooks/server.go
2019-05-14 12:11:07 -07:00
shuting
6d65203d91 Merge branch 'develop' into feature_proposal_redesign_policycontroller_eventcontroller_violationbuilder
# Conflicts:
#	pkg/controller/processPolicy.go
#	pkg/engine/engine.go
#	pkg/engine/mutation.go
#	pkg/engine/mutation/checkRules.go
#	pkg/policyengine/validation.go
#	pkg/webhooks/server.go
#	pkg/webhooks/utils.go
2019-05-14 11:52:13 -07:00
shuting
3f293d8266 initial commit, remove kubeclient from policy engine 2019-05-14 11:24:40 -07:00
shuting
d683340a2e Resolve PR 27 2019-05-13 18:17:28 -07:00