Shuting Zhao
|
51642cbcf3
|
skip process mutate patches if conditon tag is not present
|
2019-11-27 19:40:47 -08:00 |
|
Shuting Zhao
|
e743a4702c
|
escape slash in annotation patch
|
2019-11-27 17:51:33 -08:00 |
|
Shuting Zhao
|
261560eafb
|
mutate rule: do not ignore empty key in resource if overlay has nested anchor
|
2019-11-27 16:07:15 -08:00 |
|
shuting
|
6f22f334da
|
Merge pull request #517 from nirmata/local_test
explicitly set resource version of policy violation when update
|
2019-11-19 10:26:38 -08:00 |
|
Shuting Zhao
|
50f53ac651
|
explicitly set resource version of policy violation when update
|
2019-11-18 18:04:57 -08:00 |
|
Shivkumar Dudhani
|
a81d5c9ae7
|
update event message (#515)
|
2019-11-18 17:13:48 -08:00 |
|
Shuting Zhao
|
8bf60a7fea
|
correct role/clusterrole kind
|
2019-11-14 15:49:11 -08:00 |
|
Shuting Zhao
|
22162b28f2
|
handle namespaced/cluster violation cleanup separately
|
2019-11-14 13:06:56 -08:00 |
|
Shuting Zhao
|
c140f660f6
|
fix pv cleanup #496
|
2019-11-14 12:01:41 -08:00 |
|
Shivkumar Dudhani
|
e841a1b204
|
filter namespaces (#491)
* filter namespaces
* fix test
|
2019-11-13 19:08:00 -08:00 |
|
shuting
|
14697f9d06
|
Merge pull request #490 from nirmata/local_test
fix annotation patch in mutate rule
|
2019-11-13 19:02:17 -08:00 |
|
Shivkumar Dudhani
|
69d4cb0b27
|
remove v1alpha pkgs (#489)
|
2019-11-13 18:58:49 -08:00 |
|
Shuting Zhao
|
79a7bde4ab
|
- fix test; - improve logging
|
2019-11-13 18:44:18 -08:00 |
|
Shuting Zhao
|
a1ce6e4297
|
fix annotation patch in mutate rule
|
2019-11-13 17:56:56 -08:00 |
|
Shuting Zhao
|
722c12f82c
|
- return detailed error message; - set pv name with old pv when updates the pv
|
2019-11-13 15:49:53 -08:00 |
|
Shivkumar Dudhani
|
3ab0790342
|
use PolicyContext with engine.Generate (#483)
|
2019-11-13 15:46:43 -08:00 |
|
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
|
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
|
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
|
670d665aed
|
cleanup unused code
|
2019-11-13 13:01:08 -08:00 |
|
Shuting Zhao
|
9e0f39efcf
|
remove GetOwners()
|
2019-11-13 12:34:55 -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
|
e2af3852f9
|
fix comments
|
2019-11-13 10:37:57 -08:00 |
|
Shuting Zhao
|
3c2d98ef9f
|
fix test
|
2019-11-13 10:21:33 -08:00 |
|
Shuting Zhao
|
e36ba36e9f
|
- resolve comments - remove unused code
|
2019-11-13 10:17:03 -08:00 |
|
shivkumar dudhani
|
0d44229110
|
fix tests
|
2019-11-13 08:07:11 -08:00 |
|
Shuting Zhao
|
b5b3dae145
|
fix logging format
|
2019-11-13 00:47:37 -08:00 |
|
Shuting Zhao
|
71ad192ced
|
fix test
|
2019-11-13 00:37:34 -08:00 |
|
Shuting Zhao
|
45dc0bd358
|
Merge commit 'da5c03f89df3007088b27fc84b08827170e16eda' into 345_support_usergroup_info
# Conflicts:
# test/scenarios/samples/best_practices/add_safe_to_evict2.yaml
|
2019-11-13 00:31:07 -08:00 |
|
Shuting Zhao
|
fc2cf7659b
|
Merge commit 'da5c03f89df3007088b27fc84b08827170e16eda' into 455_namespace_pv
|
2019-11-13 00:28:04 -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 |
|
Jim Bugwadia
|
9d63cfc192
|
Merge branch 'master' into 452_make_sample_policy_rule_names_consistent
|
2019-11-12 23:16:01 -08:00 |
|
Shuting Zhao
|
37ad1249b2
|
- add dclient; - add retry getting resource before create pv
|
2019-11-12 20:19:20 -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
|
cd6906c1c9
|
add namespace pv controller
|
2019-11-12 19:17:35 -08:00 |
|
Shuting Zhao
|
483db18711
|
create namespaced pv on resource owner
|
2019-11-12 19:16:11 -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
|
1bfc8cfbb8
|
rebase with branch policy_store
|
2019-11-12 19:05:29 -08:00 |
|
Shuting Zhao
|
89e5e7fa54
|
integrate with pv genreator
|
2019-11-12 19:05:29 -08:00 |
|
Shuting Zhao
|
c651d06041
|
create namespaced pv on resource owner
|
2019-11-12 19:02:31 -08:00 |
|
Shuting Zhao
|
3706822df7
|
update crd
|
2019-11-12 19:02:31 -08:00 |
|
Shuting Zhao
|
2893cc3f7d
|
create namespace pv when validate policy fails
|
2019-11-12 19:02:31 -08:00 |
|