shivkumar dudhani
7c9bc6fecf
variable substitution
2019-12-12 10:19:45 -08:00
Shuting Zhao
2c783cfe02
rename namespacedpolicyviolation: update code
2019-12-11 16:09:05 -08:00
Shuting Zhao
a107ad7ac8
rename namespacedpolicyviolation: update codegen
2019-12-11 16:07:39 -08:00
shivkumar dudhani
4c55fe00bc
Merge branch 'v1.1.0' into 524_bug
2019-12-11 11:21:31 -08:00
shivkumar dudhani
75eee39d7d
remove fix for 535
2019-12-11 11:18:38 -08:00
shivkumar dudhani
ad54683f71
CR fixes
2019-12-11 11:15:13 -08:00
shuting
f06b19bb14
Merge pull request #525 from nirmata/421_test_webhook
...
421 test webhook
2019-12-11 11:13:37 -08:00
shivkumar dudhani
12edc56613
initial commit
2019-12-11 09:45:22 -08:00
shivkumar dudhani
4c2a16904c
update tests
2019-12-10 09:15:50 -08:00
Shuting Zhao
8edb00d714
- skip processing mutate rule if condition is not met; - update debugging info
2019-12-09 19:28:34 -08:00
Shuting Zhao
b2ad71cc5e
remove channel, introduced a flag to indicate the webhook creation status
2019-12-05 15:49:02 -08:00
Shuting Zhao
183f844029
- move resourcewebhookregister to webhookconfig
2019-12-05 13:51:02 -08:00
Shuting Zhao
1c1f47bbc5
correct error msg
2019-12-05 11:57:34 -08:00
Shuting Zhao
b99293018e
add unit test
2019-12-05 11:55:00 -08:00
shivkumar dudhani
4f174779dc
remove typed client ref
2019-12-05 11:52:13 -08:00
Shuting Zhao
55f243b55b
add validation for a policy userInfo
2019-12-04 18:50:51 -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
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