Shuting Zhao
|
85d04f609c
|
remove overlay failure conditionNotPresent as it allows the tag not present
|
2019-11-11 21:03: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
|
a7aec886b4
|
handle processOverlay with overlayError
|
2019-11-06 16:16:29 -08:00 |
|
Shuting Zhao
|
d0391ecab3
|
make the err "resource field is not present" a constant
|
2019-11-05 16:36:15 -08:00 |
|
Shuting Zhao
|
9f7b6eaaf6
|
skip applying mutate rule if condition key is not present in the resource, consider the rule as success
|
2019-11-05 16:27:06 -08:00 |
|
Shuting Zhao
|
664a85363a
|
correct scenario test
|
2019-11-05 12:59:22 -08:00 |
|
Shuting Zhao
|
489e55d6c3
|
add best_practices scenario_mutate_safe-to-evict
|
2019-11-05 10:16:07 -08:00 |
|
Shuting Zhao
|
86c00a8f30
|
return failure path for mutate condition check
|
2019-11-01 11:14:58 -07:00 |
|
shivkumar dudhani
|
3fa8834b4a
|
policy validation: refactoring
|
2019-10-21 14:22:31 -07:00 |
|
shivkumar dudhani
|
cf32510067
|
remove old function refereces and update tests
|
2019-09-05 09:37:57 -07:00 |
|
shivkumar dudhani
|
cd6b1d0990
|
aggregate rule status
|
2019-09-03 17:43:36 -07:00 |
|
shivkumar dudhani
|
07d86cb769
|
add success tests for validation & mutation
|
2019-08-29 18:48:58 -07:00 |
|
shivkumar dudhani
|
b062d70e29
|
initial redesign
|
2019-08-23 18:34:23 -07:00 |
|
Shuting Zhao
|
a83e5c1d05
|
Merge commit '2192703df1bb26cb8b30a1aece6f9afeed09b214' into 254_dynamic_webhook_configurations
# Conflicts:
# pkg/engine/generation.go
# pkg/engine/overlay.go
# pkg/engine/utils.go
# pkg/engine/utils_test.go
# pkg/gencontroller/controller.go
# pkg/gencontroller/generation.go
# pkg/webhooks/mutation.go
# pkg/webhooks/server.go
|
2019-08-19 16:44:38 -07:00 |
|
shivkumar dudhani
|
44db8b064e
|
resource description: support list of namespaces
|
2019-08-17 09:45:57 -07:00 |
|
Shuting Zhao
|
998f612679
|
fix engine unit test
|
2019-08-15 15:23:54 -07:00 |
|
Shuting Zhao
|
a110efb96c
|
Merge branch 'policyViolation' into 254_dynamic_webhook_configurations
# Conflicts:
# main.go
# pkg/annotations/annotations.go
# pkg/annotations/controller.go
# pkg/controller/controller.go
# pkg/controller/controller_test.go
# pkg/engine/engine.go
# pkg/engine/generation.go
# pkg/engine/mutation.go
# pkg/engine/validation.go
# pkg/event/controller.go
# pkg/webhooks/mutation.go
# pkg/webhooks/policyvalidation.go
# pkg/webhooks/report.go
# pkg/webhooks/server.go
# pkg/webhooks/validation.go
|
2019-08-14 19:00:37 -07:00 |
|
shivkumar dudhani
|
e7b538be79
|
add process existing for mutation & validation + come cleanup
|
2019-08-13 11:32:12 -07:00 |
|
shivkumar dudhani
|
1e621146be
|
test policy engine on admission requests
|
2019-08-09 16:55:43 -07:00 |
|
shivkumar dudhani
|
373d9a45ad
|
clean up mutation
|
2019-08-09 12:59:37 -07:00 |
|
shivkumar dudhani
|
a30ad6bab2
|
cleanup
|
2019-08-09 11:08:02 -07:00 |
|
Shuting Zhao
|
a70d253828
|
fix anchors in the list of map VS anchors on different list
|
2019-07-26 17:52:12 -07:00 |
|
shivkumar dudhani
|
ba34d96c7d
|
annnotation patch
|
2019-07-25 13:14:55 -04:00 |
|
shivkumar dudhani
|
0ee748a95f
|
resource patched after every rule + rm PatchBytes
|
2019-07-05 15:20:43 -07:00 |
|
shivkumar dudhani
|
b7655ae747
|
introduce info struct for engine responses
|
2019-06-25 18:16:02 -07:00 |
|
Denis Belyshev
|
21a8ac8416
|
Merge branch 'master' into 50-at-least-one-exist
|
2019-06-18 19:34:31 +03:00 |
|
Denis Belyshev
|
1a08ab4bda
|
Implemented logic "Add if not exist"
|
2019-06-14 17:19:32 +03:00 |
|
Denis Belyshev
|
9bacfe4363
|
Implemented at least one exists logic
|
2019-06-13 17:20:00 +03:00 |
|
Denis Belyshev
|
5339f44504
|
Added comment for applyOverlayToArrayOfMaps
|
2019-06-12 13:12:36 +03:00 |
|
Denis Belyshev
|
f89168f77a
|
Wrote additional comments
|
2019-06-12 12:21:52 +03:00 |
|
Denis Belyshev
|
804d610fc7
|
Refactored overlays and updated tests. Now new element in array is added to the end
|
2019-06-11 16:54:19 +03:00 |
|
shivdudhani
|
200f3fce63
|
refactor code
|
2019-06-05 17:43:59 -07:00 |
|
Denis Belyshev
|
181a1282e0
|
Fixed mutation by overlays
|
2019-06-05 16:44:53 +03:00 |
|
Denis Belyshev
|
8c7ea8d741
|
Fixed combining of results in Mutate function
|
2019-06-05 15:40:31 +03:00 |
|
Denis Belyshev
|
e571f730b2
|
127: Implemented usage of result package in validation and mutation functions.
|
2019-06-05 13:43:07 +03:00 |
|
shivdudhani
|
c205cca38b
|
introduce glog, remove log.logger references
|
2019-05-30 12:28:56 -07:00 |
|
Denis Belyshev
|
22b942d229
|
Added bool support
|
2019-05-27 18:21:23 +03:00 |
|
Denis Belyshev
|
a85f646bd4
|
Removed excess Fatal log
|
2019-05-27 18:11:39 +03:00 |
|
Denis Belyshev
|
435a19152a
|
I have finished implementing patterns
|
2019-05-27 18:07:24 +03:00 |
|
kacejot
|
8e73131f02
|
Fixed minor issue in overlay logic. Added tests
|
2019-05-23 19:13:39 +03:00 |
|
kacejot
|
18fc6d630f
|
Fixed: Overlay overwrites all items in the list
|
2019-05-23 16:31:00 +03:00 |
|
kacejot
|
f57cce907a
|
Fixed issue: Overlay was not returning error
|
2019-05-23 15:53:35 +03:00 |
|
kacejot
|
139e83c307
|
Merge remote-tracking branch 'refs/remotes/origin/master'
|
2019-05-23 14:52:12 +03:00 |
|
kacejot
|
7052d4bb93
|
Fixed issue: Overlay was not applied
|
2019-05-23 14:51:41 +03:00 |
|
Max Goncharenko
|
feffc6238a
|
Update overlay.go
|
2019-05-23 12:51:45 +03:00 |
|
Maxim Goncharenko
|
8735ee7741
|
Fixed issue: The first element of array was always replaced
|
2019-05-23 12:45:56 +03:00 |
|
kacejot
|
09e0065d4c
|
Finished mutating overlay. Added several tests
|
2019-05-22 22:34:25 +01:00 |
|
kacejot
|
ab31d980b6
|
Updated mutation base due to spec
|
2019-05-22 18:28:38 +01:00 |
|
Maxim Goncharenko
|
302090cd86
|
Implemented base for Mutation Overlay
|
2019-05-21 18:27:56 +03:00 |
|