Shuting Zhao
|
cdc5190c56
|
update nirmata/kyverno to kyverno/kyverno
|
2020-10-07 11:12:31 -07:00 |
|
Jim Bugwadia
|
65193feccb
|
update logging, naming, and event retry (#959)
* update logging and naming
* check per policy patch count
|
2020-06-30 11:53:27 -07:00 |
|
Shuting Zhao
|
ea66d7a7b8
|
fix CI
|
2020-05-20 13:58:56 -07:00 |
|
Shuting Zhao
|
df452187bf
|
fix CI
|
2020-05-19 10:32:42 -07:00 |
|
shravan
|
6f01bb4d59
|
744 only user requests will be denied
|
2020-05-07 14:18:42 +05:30 |
|
shravan
|
5ec300a12d
|
744 added tests
|
2020-05-07 02:35:24 +05:30 |
|
shravan
|
7682935701
|
744 fixing broken tests
|
2020-05-06 22:52:29 +05:30 |
|
Yuvraj
|
4fa5a056f3
|
Fix conflict
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
|
2020-03-27 14:10:21 +05:30 |
|
Yuvraj
|
801c7513cb
|
golanfci-lint changes
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
|
2020-03-24 00:35:05 +05:30 |
|
shravan
|
46c3b78518
|
725 fixing tests
|
2020-03-16 14:18:51 +05:30 |
|
shravan
|
6f07aac36a
|
725 fixing tests
|
2020-03-06 17:19:41 +05:30 |
|
shivkumar dudhani
|
03ee46e1d9
|
support nested variable resolution
|
2020-02-26 16:41:48 -08:00 |
|
shivkumar dudhani
|
5cee543755
|
refactor variable substitution
|
2020-02-14 11:59:28 -08:00 |
|
shravan
|
70ea63cab3
|
658 removing unused commented out code
|
2020-02-07 15:02:36 +05:30 |
|
shravan
|
88083e91d6
|
658 removing outdated test from previous commit
|
2020-02-06 15:40:58 +05:30 |
|
shravan
|
dd7e63e1a6
|
658 removing outdated tests and fixing broken ones
|
2020-02-05 17:00:47 +05:30 |
|
Shivkumar Dudhani
|
8c1d79ab28
|
linter suggestions (#655)
* cleanup phase 1
* linter fixes phase 2
|
2020-01-24 12:05:53 -08:00 |
|
Shuting Zhao
|
5a44ab3e16
|
generate violation in validate when substitute path not present
|
2020-01-09 17:44:11 -08:00 |
|
Shuting Zhao
|
472fa29fce
|
move mutation to subpackage pkg/engine/mutate
|
2020-01-07 17:06:17 -08:00 |
|
Shivkumar Dudhani
|
5b8ab3842b
|
Support variable substitution (#549)
* initial commit
* variable substitution
* update tests
* update test
* refactor engine packages for validate & generate
* update vendor
* update toml
* support variable substitution in overlay mutation
* missing update
* fix indentation in logs
* store context values as single JSON document using merge patches.
* remove duplicate functions
* fix message string
* Handle processing of policies in background (#569)
* remove condition check while generating mutation patch as conditions are verified in the first iteration
* initial commit
* background policy validation
* correct message
* skip non-background policy process for add/update
* fix order to correct policy registration
* update comment
Co-authored-by: shuting <shutting06@gmail.com>
* refactor
Co-authored-by: shuting <shutting06@gmail.com>
|
2019-12-30 17:08:50 -08:00 |
|
Shivkumar Dudhani
|
ffe3bdb677
|
remove newline from engine response strings (#537)
* remove newline from engine response strings
* add scenario file updates
* cr: remove . in trailing msg string
|
2019-12-04 18:04:42 -08:00 |
|
shuting
|
ded0183aa2
|
Merge pull request #478 from nirmata/472_update_apiversion
472 update apiversion
|
2019-11-13 15:19:27 -08:00 |
|
Shuting Zhao
|
eab9609c6a
|
update api in tests
|
2019-11-13 13:56:07 -08:00 |
|
Shuting Zhao
|
b67577994a
|
update apiversion to v1 in code
|
2019-11-13 13:41:08 -08:00 |
|
Shivkumar Dudhani
|
7a12e12cb5
|
skip validation if the resource updates dont violate policy rules (#477)
|
2019-11-13 13:13:07 -08:00 |
|
Shuting Zhao
|
5a3ed62b13
|
Merge branch 'master' into 345_support_usergroup_info
# Conflicts:
# pkg/engine/validation_test.go
# pkg/webhooks/annotations.go
# pkg/webhooks/annotations_test.go
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
|
2019-11-11 19:19:08 -08:00 |
|
Shuting Zhao
|
6048d59949
|
change engine interface to take policyContext struct
|
2019-11-08 18:57:27 -08:00 |
|
Shuting Zhao
|
ec331b8d17
|
remove resource info in the validation error
|
2019-11-07 12:30:58 -08:00 |
|
Shuting Zhao
|
a30b8a604d
|
update format
|
2019-11-07 12:13:35 -08:00 |
|
Shuting Zhao
|
443619757e
|
update tests/scenario
|
2019-11-07 12:13:35 -08:00 |
|
Shuting Zhao
|
98fa90bf1e
|
update validation_test.go
|
2019-11-07 12:13:34 -08:00 |
|
shivkumar dudhani
|
a191bd67f4
|
update message string
|
2019-11-01 15:21:23 -07:00 |
|
shivkumar dudhani
|
fd72ee3178
|
add unit tests
|
2019-10-10 17:34:20 -07:00 |
|
shivkumar dudhani
|
515a31199e
|
update equality operator
|
2019-10-01 13:08:34 -07:00 |
|
shivkumar dudhani
|
17d80a08c0
|
introduce equality anchor
|
2019-10-01 12:35:14 -07:00 |
|
shivkumar dudhani
|
808cccb421
|
update validation logic
|
2019-09-28 14:09:46 -07:00 |
|
shivkumar dudhani
|
ae3059b858
|
unit test initial check
|
2019-09-26 11:00:30 -07:00 |
|
shivkumar dudhani
|
087efffd96
|
support existance on list type
|
2019-09-25 21:01:45 -07:00 |
|
shivkumar dudhani
|
c65f12b97b
|
initial commit
|
2019-09-25 15:12:33 -07:00 |
|
shivkumar dudhani
|
5dab189743
|
fix event resource name + add filtered kinds to policy controller & namespace + fix messages
|
2019-09-12 15:04:35 -07:00 |
|
Shuting Zhao
|
d0fd3e69ef
|
update testrunner, unit test for validate_host_network_port
|
2019-09-09 16:08:15 -07:00 |
|
shivkumar dudhani
|
f56603e4d4
|
update message to show resource path of failure for validation + print custom message on failure + anyPattern to return on first success validation + update scenarios for test runner
|
2019-09-05 12:44:38 -07:00 |
|
shivkumar dudhani
|
6228b8343e
|
refactor engine api
|
2019-09-03 15:48:13 -07:00 |
|
shivkumar dudhani
|
786cbf5522
|
fix test
|
2019-09-03 15:02:00 -07:00 |
|
shivkumar dudhani
|
d43b4d93c2
|
rebase with master
|
2019-08-30 01:08:54 -07:00 |
|
Shuting Zhao
|
998f612679
|
fix engine unit test
|
2019-08-15 15:23:54 -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
|
0a1185d1fd
|
correct unit tests
|
2019-06-28 17:11:19 -07:00 |
|
belyshevdenis
|
46cbbf9568
|
Implemented validation across same yaml
|
2019-06-20 18:21:55 +03:00 |
|