Shuting Zhao
|
a1ce6e4297
|
fix annotation patch in mutate rule
|
2019-11-13 17:56:56 -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
|
b67577994a
|
update apiversion to v1 in code
|
2019-11-13 13:41:08 -08:00 |
|
Shivkumar Dudhani
|
765a17df03
|
423 policy store (#471)
* fix log format
* update test
|
2019-11-13 13:21:00 -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
|
81ac13cb05
|
lookup policies from policy store in webhook
|
2019-11-13 12:15:51 -08:00 |
|
Shuting Zhao
|
fc35a52ad8
|
Merge branch 'master' into 455_namespace_pv
# Conflicts:
# definitions/install_debug.yaml
# main.go
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
|
2019-11-13 11:46:46 -08:00 |
|
Shuting Zhao
|
b5b3dae145
|
fix logging format
|
2019-11-13 00:47:37 -08:00 |
|
Shuting Zhao
|
bdcb2eac6a
|
claim namespaced policy violations
|
2019-11-12 23:19:38 -08:00 |
|
Shuting Zhao
|
7ca87b0ac6
|
Merge branch '455_namespace_pv' of https://github.com/nirmata/kyverno into 455_namespace_pv
# Conflicts:
# pkg/policyviolation/generator.go
# pkg/policyviolation/namespacedpv.go
# pkg/webhooks/report.go
|
2019-11-12 19:18:34 -08:00 |
|
Shuting Zhao
|
89e5e7fa54
|
integrate with pv genreator
|
2019-11-12 19:05:29 -08:00 |
|
Shuting Zhao
|
2893cc3f7d
|
create namespace pv when validate policy fails
|
2019-11-12 19:02:31 -08:00 |
|
Shuting Zhao
|
dfd41774f0
|
add namespace pv controller
|
2019-11-12 19:01:48 -08:00 |
|
shivkumar dudhani
|
1049e3fe81
|
pass dynamic client
|
2019-11-12 18:25:50 -08:00 |
|
Shuting Zhao
|
8b5ddb66e3
|
integrate with pv genreator
|
2019-11-12 16:15:40 -08:00 |
|
Shuting Zhao
|
162a9ee754
|
create namespace pv when validate policy fails
|
2019-11-12 16:14:47 -08:00 |
|
shivkumar dudhani
|
ccbb6e33a5
|
introduce policy violation generator
|
2019-11-12 14:41:29 -08:00 |
|
Shuting Zhao
|
2a14c1f5dc
|
- add profiling; - fix CLI
|
2019-11-11 21:23:26 -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
|
d26029d3be
|
fix unit test
|
2019-11-11 19:08:46 -08:00 |
|
Shuting Zhao
|
6c8f4f90da
|
fix patches annotation
|
2019-11-11 18:52:26 -08:00 |
|
Shuting Zhao
|
586b197b00
|
user sharedInformer for rolebindings and clusterrolebindings
|
2019-11-11 15:43:13 -08:00 |
|
Shuting Zhao
|
03e85c2266
|
make getRoleRef a separate package
|
2019-11-11 14:52:09 -08:00 |
|
shivkumar dudhani
|
f788f0e526
|
introduce policy store
|
2019-11-11 11:10:25 -08:00 |
|
Shuting Zhao
|
5b0a6d62a4
|
add unit test
|
2019-11-11 09:56:53 -08:00 |
|
shivkumar dudhani
|
f11a05a652
|
create event on webhook status update
|
2019-11-10 13:30:15 -08:00 |
|
Shuting Zhao
|
6048d59949
|
change engine interface to take policyContext struct
|
2019-11-08 18:57:27 -08:00 |
|
Shuting Zhao
|
0e9a952d64
|
get rbac info for an admission request
|
2019-11-08 18:56:24 -08:00 |
|
Shivkumar Dudhani
|
687c0c6470
|
Merge pull request #418 from nirmata/391_feature
Check if mutating webhook admission control is enabled
|
2019-11-08 12:55:28 -08:00 |
|
Shuting Zhao
|
e3c9282e6a
|
fix edit failure blocked by annotation change
- as we change the patches key in annotation to "policies.kyverno.io/patches" in commit bdb3f40f15
|
2019-11-07 12:13:34 -08:00 |
|
Shuting Zhao
|
caf7abfecc
|
Get policy list once in handleAdmissionRequest
|
2019-11-07 12:13:16 -08:00 |
|
Shuting Zhao
|
8496a483dc
|
- remove resource info per rule; - add resource info in each failed admission request
|
2019-11-06 17:14:32 -08:00 |
|
shivkumar dudhani
|
7e7286a9c1
|
support string - numbers comparison, use validatepattern in generate for subset check
|
2019-10-31 13:29:03 -07:00 |
|
Shivkumar Dudhani
|
92c96aaf1f
|
Revert "use validatepattern in generate rule to check for subset existance"
|
2019-10-31 13:21:38 -07:00 |
|
shivkumar dudhani
|
61c1ea5a49
|
use validatepattern in generate rule to check for subset existance
|
2019-10-31 13:04:56 -07:00 |
|
shivkumar dudhani
|
e022084dd0
|
add checker to verify if mutatingwebhook is enabled or not + refactoring
|
2019-10-30 13:39:19 -07:00 |
|
shivkumar dudhani
|
c7787eff8d
|
Merge branch 'master' of github.com:nirmata/kyverno into 391_feature
|
2019-10-29 12:01:15 -07:00 |
|
Shivkumar Dudhani
|
22e7ab1c49
|
Merge branch 'master' into 261_dynamic_config
|
2019-10-25 19:17:15 -05:00 |
|
shivkumar dudhani
|
56adc98b8c
|
initial commit
|
2019-10-25 16:55:48 -05:00 |
|
Shuting Zhao
|
3a3efe00f1
|
- rename to managedResource; - refact code structure
|
2019-10-24 15:50:11 -07:00 |
|
Shuting Zhao
|
6e69c8b69b
|
cleanup pv with dependant when blocked admission request pass
|
2019-10-23 23:18:58 -07:00 |
|
Shuting Zhao
|
e4791e5828
|
remove unused code
|
2019-10-21 15:55:20 -07:00 |
|
Shuting Zhao
|
f820cb4c83
|
implement #387 Generate clusterpolicyviolation when policy action set to "enforce"
|
2019-10-21 15:55:20 -07:00 |
|
Shuting Zhao
|
32f94bca27
|
manage policy validation inside engine pkg
|
2019-10-18 17:45:24 -07:00 |
|
shivkumar dudhani
|
64eab3d1d6
|
initial commit
|
2019-10-18 17:38:46 -07:00 |
|
Shuting Zhao
|
7239b4d9b7
|
Merge commit '37c25daa17ad046f739e74d803cb78d887805bb4' into 346_validate_policy
# Conflicts:
# pkg/api/kyverno/v1alpha1/utils.go
|
2019-10-18 10:09:44 -07:00 |
|
Shuting Zhao
|
bdb3f40f15
|
rename mutate annotation to "policies.kyverno.io/patches"
|
2019-10-11 17:59:50 -07:00 |
|
Shuting Zhao
|
137d596e11
|
rename EngineResponseNew to EngineResponse accordingly
|
2019-10-08 16:23:24 -07:00 |
|
shuting
|
5c38c28904
|
Merge pull request #369 from nirmata/368_bug
update engineResponse Name
|
2019-10-08 16:02:07 -07:00 |
|
Shuting Zhao
|
d7080c2d94
|
fix pr comment
|
2019-10-08 14:21:47 -07:00 |
|