1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
Commit graph

64 commits

Author SHA1 Message Date
shivkumar dudhani
6228b8343e refactor engine api 2019-09-03 15:48:13 -07:00
shivkumar dudhani
fa53519e2a change CRD Name to ClusterPolicy & ClusterPolicyViolations 2019-09-03 14:51:51 -07:00
shivkumar dudhani
07d86cb769 add success tests for validation & mutation 2019-08-29 18:48:58 -07:00
shivkumar dudhani
5b80da32ba replace policyInfo with engineResponse 2019-08-26 13:34:42 -07:00
shivkumar dudhani
b062d70e29 initial redesign 2019-08-23 18:34:23 -07:00
Shuting Zhao
fcaa495790 remove commented code 2019-08-21 17:23:51 -07:00
Shuting Zhao
ead99660f0 Merge commit '042bc645497ce6713bfca286f8bacd73ef7387b6' into 285_allow_OR_across_overlay_patterns
# Conflicts:
#	pkg/engine/validation.go
2019-08-21 14:13:22 -07:00
Shuting Zhao
97335270cd add anyPattern in validate rule 2019-08-21 12:38:15 -07:00
shivkumar dudhani
e507fb6422 recieve stats + update violation status move to aggregator 2019-08-20 12:51:25 -07:00
shivkumar dudhani
0b5cc03b2d engineResponse to contain stats 2019-08-19 18:57:19 -07:00
shivkumar dudhani
61d7ea276a rebase 2019-08-19 17:26:52 -07:00
shivkumar dudhani
8b1066be29 initial commit 2019-08-19 16:40:10 -07:00
Shuting Zhao
4c34ff7a37 Change of annotation purpose #262 2019-08-19 16:10:10 -07:00
Shuting Zhao
a110efb96c Merge branch 'policyViolation' into 254_dynamic_webhook_configurations
# Conflicts:
#	main.go
#	pkg/annotations/annotations.go
#	pkg/annotations/controller.go
#	pkg/controller/controller.go
#	pkg/controller/controller_test.go
#	pkg/engine/engine.go
#	pkg/engine/generation.go
#	pkg/engine/mutation.go
#	pkg/engine/validation.go
#	pkg/event/controller.go
#	pkg/webhooks/mutation.go
#	pkg/webhooks/policyvalidation.go
#	pkg/webhooks/report.go
#	pkg/webhooks/server.go
#	pkg/webhooks/validation.go
2019-08-14 19:00:37 -07:00
Shuting Zhao
6b1b6dddfa combine policy engine returns into single struct 2019-08-14 15:18:46 -07:00
shivkumar dudhani
aed0ed0dc1 clean up 2019-08-14 10:01:47 -07:00
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