shivkumar dudhani
a498c2c36d
update msg
2019-12-04 17:28:47 -08:00
shivkumar dudhani
1642682aa2
528_add_webhook_defaults
2019-12-04 17:28:39 -08:00
Shuting Zhao
0f5cf40eda
- holds resource webhook creation requests in a quene; - remove webhookinformer from policy controller and webhookregistrationclient
2019-12-04 12:31:27 -08:00
shivkumar dudhani
eed7115563
pv for resource with no names assigned
2019-12-03 17:15:50 -08:00
shivkumar dudhani
0f6f3c1e02
missing update
2019-12-02 17:29:41 -08:00
shivkumar dudhani
0ea1d9986a
cleanup resource & policy
2019-12-02 17:15:47 -08:00
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
shivkumar dudhani
e7607fae87
refactor cluster and oplicy violation cleanup
2019-11-27 11:23:29 -08:00
shivkumar dudhani
2476940ddf
remove cluster and namespace PV controller
2019-11-26 18:21:09 -08:00
shivkumar dudhani
678b7416c1
refactor policy violation resource
2019-11-26 18:07:15 -08:00
Shuting Zhao
f6db1b9e87
create policy webhookcfgs after verifying webhook status
2019-11-25 18:22:05 -08:00
Shuting Zhao
a963843245
fix none namespace error
2019-11-25 18:14:04 -08:00
Shuting Zhao
f506789498
create resource mutating webhook after verifying webhook is active
2019-11-25 18:07:11 -08:00
Shuting Zhao
8b0fb4b801
remove VerifyMutatingWebhook during shutdown
2019-11-25 13:08:02 -08:00
Shivkumar Dudhani
990c32b6bd
fix test ( #521 )
2019-11-22 12:54:34 -08:00
Shivkumar Dudhani
734ef44b17
504 bug ( #505 )
...
* correct role/clusterrole kind
* remove namespace from resource spec
* namespace lister to filter on namespace
* CR fixes
* refactor
* add namespace field back to types
2019-11-22 12:23:50 -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
shivkumar dudhani
40b685c9db
merge with v1.1.0
2019-11-18 11:48:36 -08:00
shivkumar dudhani
3df71f6fea
Merge branch 'v1.1.0' into 507_bug
2019-11-18 11:44:17 -08:00
Shivkumar Dudhani
89c298b5f2
policy violation name format update ( #502 )
2019-11-18 11:42:00 -08:00
Shivkumar Dudhani
61b202c64a
420 init container ( #501 )
...
* init container to cleanup stale webhook configurations if any.
* remove test code
* use internal pkg for os signals
* move webhook cleanup before http.server shutown.
* update make file and remove init
* update CI script
2019-11-18 11:41:37 -08:00
shivkumar dudhani
09cd524625
CR fixes
2019-11-18 11:12:36 -08:00
shivkumar dudhani
3c3931b67b
wat for cache sync and cleanup
2019-11-15 15:59:37 -08:00
shivkumar dudhani
57e8e2a395
Revert "wait for cache to sync and cleanup"
...
This reverts commit 9c3b32b903
.
2019-11-15 15:57:18 -08:00
shivkumar dudhani
cde9d9d3cd
Revert "missing file"
...
This reverts commit cd43dba947
.
2019-11-15 15:56:46 -08:00
shivkumar dudhani
cd43dba947
missing file
2019-11-15 15:53:34 -08:00
shivkumar dudhani
9c3b32b903
wait for cache to sync and cleanup
2019-11-15 15:53:22 -08:00
shivkumar dudhani
a315c22e2f
refer informer cache in policy controller for mutatingwebhookconfigs
2019-11-15 14:01:40 -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