shuting
|
ded0183aa2
|
Merge pull request #478 from nirmata/472_update_apiversion
472 update apiversion
|
2019-11-13 15:19:27 -08:00 |
|
Shivkumar Dudhani
|
23ba517fef
|
add patched resource + correct register handlers (#482)
|
2019-11-13 15:16:46 -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
|
9e0f39efcf
|
remove GetOwners()
|
2019-11-13 12:34:55 -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
|
e36ba36e9f
|
- resolve comments - remove unused code
|
2019-11-13 10:17:03 -08:00 |
|
Shuting Zhao
|
01b915de8d
|
remove unused function
|
2019-11-13 00:27:44 -08:00 |
|
Shuting Zhao
|
196c7b36b0
|
update pv labels if it changes
|
2019-11-13 00:03:01 -08:00 |
|
Shuting Zhao
|
55b0bf0d3a
|
add event handler for NamespacedPolicyViolation
|
2019-11-12 23:43:29 -08:00 |
|
Shuting Zhao
|
bdcb2eac6a
|
claim namespaced policy violations
|
2019-11-12 23:19:38 -08:00 |
|
Shuting Zhao
|
5be2cea536
|
create namespace pv when validate policy fails
|
2019-11-12 19:15:20 -08:00 |
|
Shuting Zhao
|
b811bb269e
|
rename policyviolation related package/function to clusterpolicyviolation
|
2019-11-12 19:12:36 -08:00 |
|
Shuting Zhao
|
2893cc3f7d
|
create namespace pv when validate policy fails
|
2019-11-12 19:02:31 -08:00 |
|
Shuting Zhao
|
e7ec93a5ba
|
rename policyviolation related package/function to clusterpolicyviolation
|
2019-11-12 19:02:31 -08:00 |
|
shivkumar dudhani
|
1049e3fe81
|
pass dynamic client
|
2019-11-12 18:25:50 -08:00 |
|
shivkumar dudhani
|
d8bf7fa284
|
clean up fixes
|
2019-11-12 16:49:05 -08:00 |
|
shivkumar dudhani
|
f271af95cc
|
use store to hold values and queue for keys
|
2019-11-12 16:01:09 -08:00 |
|
shivkumar dudhani
|
ccbb6e33a5
|
introduce policy violation generator
|
2019-11-12 14:41:29 -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
|
02fd1227be
|
reverse listResource interface
|
2019-11-11 16:10:55 -08:00 |
|
shivkumar dudhani
|
f788f0e526
|
introduce policy store
|
2019-11-11 11:10:25 -08:00 |
|
Shivkumar Dudhani
|
1613434c46
|
458 cleanup (#464)
* cleanup of policy violation on policy spec changes + refactoring
* remove unused code
* remove duplicate types
* cleanup references
* fix info log and clean code
* code clean
* remove dead code
|
2019-11-08 20:45:26 -08:00 |
|
Shuting Zhao
|
6048d59949
|
change engine interface to take policyContext struct
|
2019-11-08 18:57:27 -08:00 |
|
Shuting Zhao
|
3f59b4cf10
|
change client.ListResource to take listOptions
|
2019-11-08 18:54:43 -08:00 |
|
shivkumar dudhani
|
a1d7f984db
|
remove comments
|
2019-10-28 15:23:52 -05:00 |
|
Shivkumar Dudhani
|
22e7ab1c49
|
Merge branch 'master' into 261_dynamic_config
|
2019-10-25 19:17:15 -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
|
1db901cca6
|
add comment
|
2019-10-23 09:58:42 -07:00 |
|
Shuting Zhao
|
f820cb4c83
|
implement #387 Generate clusterpolicyviolation when policy action set to "enforce"
|
2019-10-21 15:55:20 -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 |
|
shivkumar dudhani
|
5d228d9586
|
fix error param
|
2019-10-15 11:30:06 -07:00 |
|
shivkumar dudhani
|
1a7b92f001
|
delete PV if the P it refers to is state
|
2019-10-15 11:07:22 -07:00 |
|
shivkumar dudhani
|
70ff2fa177
|
update engineResponse Name
|
2019-10-08 10:57:24 -07:00 |
|
Shuting Zhao
|
e20d86f45c
|
remove duplicate code: hasMutate..
|
2019-10-03 17:00:05 -07:00 |
|
Shuting Zhao
|
5e0415911a
|
add best-practice: policy_validate_disallow_default_serviceaccount
|
2019-09-16 14:16:54 -07:00 |
|
shuting
|
3d02f81434
|
Merge pull request #351 from nirmata/348_feature_wildcardsNamespaces
support wild cards for namespaces in rule resource description
|
2019-09-12 23:06:51 -07:00 |
|
shivkumar dudhani
|
44af35d6e4
|
support wild cards for namespaces in rule resource description
|
2019-09-12 17:11:55 -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 |
|
shivkumar dudhani
|
7a43bed8e4
|
remove commented code + fix log param
|
2019-09-04 14:06:06 -07:00 |
|
Shivkumar Dudhani
|
b1e5f0a8c7
|
Merge branch 'master' into refactor_webhookconfigGeneration
|
2019-09-04 13:50:46 -07:00 |
|
shivkumar dudhani
|
c2e822c887
|
refactor webhook configuration
|
2019-09-04 13:43:12 -07:00 |
|
Shivkumar Dudhani
|
94bf186f30
|
Merge pull request #328 from nirmata/bug_exclude
check the exclude conditions with AND
|
2019-09-04 10:02:57 -07:00 |
|
shivkumar dudhani
|
dee4eef44a
|
check the exclude conditions with AND
|
2019-09-03 19:31:42 -07:00 |
|
shivkumar dudhani
|
b152cdd004
|
rule to show violation count
|
2019-09-03 18:31:57 -07:00 |
|
shivkumar dudhani
|
9d81e61002
|
ignore stats if no rule is applied
|
2019-09-03 18:18:21 -07:00 |
|
shivkumar dudhani
|
cd6b1d0990
|
aggregate rule status
|
2019-09-03 17:43:36 -07:00 |
|
shivkumar dudhani
|
6228b8343e
|
refactor engine api
|
2019-09-03 15:48:13 -07:00 |
|