Shuting Zhao
|
0d71e4a669
|
remove condition check while generating mutation patch as conditions are verified in the first iteration
|
2019-12-16 18:26:38 -08:00 |
|
Shuting Zhao
|
35adbbe0df
|
convert type boolean to string in /metadata/annotation
|
2019-12-13 18:04:19 -08:00 |
|
Shuting Zhao
|
5ced2409a3
|
update test
|
2019-12-13 13:30:24 -08:00 |
|
Shuting Zhao
|
0969aa9bf9
|
implement quantity comparison
|
2019-12-13 13:17:22 -08:00 |
|
shivkumar dudhani
|
c4da72ad3e
|
fix indentation in logs
|
2019-12-13 09:49:09 -08:00 |
|
shivkumar dudhani
|
0bd05fd227
|
missing update
|
2019-12-12 18:48:53 -08:00 |
|
shivkumar dudhani
|
5659f2fbcf
|
merge master
|
2019-12-12 18:44:52 -08:00 |
|
shivkumar dudhani
|
8414681e60
|
support variable substitution in overlay mutation
|
2019-12-12 18:25:54 -08:00 |
|
shivkumar dudhani
|
10fc1b47ba
|
Merge branch 'master' into v1.1.0
|
2019-12-12 16:54:42 -08:00 |
|
shivkumar dudhani
|
b5de11fc0e
|
refactor engine packages for validate & generate
|
2019-12-12 15:02:59 -08:00 |
|
shivkumar dudhani
|
507c43ddca
|
update test
|
2019-12-12 10:55:10 -08:00 |
|
shivkumar dudhani
|
8b1e084691
|
update tests
|
2019-12-12 10:47:25 -08:00 |
|
shivkumar dudhani
|
7c9bc6fecf
|
variable substitution
|
2019-12-12 10:19:45 -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
|
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 |
|
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 |
|
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 Zhao
|
a1ce6e4297
|
fix annotation patch in mutate rule
|
2019-11-13 17:56:56 -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
|
7a12e12cb5
|
skip validation if the resource updates dont violate policy rules (#477)
|
2019-11-13 13:13:07 -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 |
|
shivkumar dudhani
|
d8bf7fa284
|
clean up fixes
|
2019-11-12 16:49:05 -08:00 |
|
Shuting Zhao
|
2a14c1f5dc
|
- add profiling; - fix CLI
|
2019-11-11 21:23:26 -08:00 |
|
Shuting Zhao
|
546a25d025
|
add missing file
|
2019-11-11 21:06:09 -08:00 |
|
Shuting Zhao
|
85d04f609c
|
remove overlay failure conditionNotPresent as it allows the tag not present
|
2019-11-11 21:03:34 -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
|
6c8f4f90da
|
fix patches annotation
|
2019-11-11 18:52:26 -08:00 |
|
Shuting Zhao
|
4a80f70957
|
add unit test
|
2019-11-11 14:29:36 -08:00 |
|
Shuting Zhao
|
5b0a6d62a4
|
add unit test
|
2019-11-11 09:56:53 -08:00 |
|
Shuting Zhao
|
981b378c86
|
match rbac info when process a rule
|
2019-11-08 18:58:09 -08:00 |
|
Shuting Zhao
|
6048d59949
|
change engine interface to take policyContext struct
|
2019-11-08 18:57:27 -08:00 |
|
Shuting Zhao
|
ec331b8d17
|
remove resource info in the validation error
|
2019-11-07 12:30:58 -08:00 |
|
Shuting Zhao
|
a30b8a604d
|
update format
|
2019-11-07 12:13:35 -08:00 |
|
Shuting Zhao
|
443619757e
|
update tests/scenario
|
2019-11-07 12:13:35 -08:00 |
|
Shuting Zhao
|
15895d3852
|
- aggregate resource info per rule; - remove resource info in each success message;
|
2019-11-07 12:13:35 -08:00 |
|
Shuting Zhao
|
98fa90bf1e
|
update validation_test.go
|
2019-11-07 12:13:34 -08:00 |
|
Shuting Zhao
|
de9ebd899b
|
improve validation error message; update scenario files
|
2019-11-07 12:13:34 -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 |
|
Shuting Zhao
|
4daa23f530
|
add missing file
|
2019-11-06 16:40:24 -08:00 |
|
Shuting Zhao
|
b32c6bf50b
|
remove unused code
|
2019-11-06 16:16:50 -08:00 |
|