shravan
|
122d1bd5fa
|
644 removed userinfo validation
|
2020-02-09 13:12:27 +05:30 |
|
shravan
|
c8fd7f6a91
|
644 simplyifying solution
|
2020-02-07 18:11:47 +05:30 |
|
shravan
|
736c18ea46
|
644 logical error fixes prototype
|
2020-02-07 16:53:38 +05:30 |
|
shravan
|
819ba3fb1b
|
644 returning detailed error from function in question, changes currently untested
|
2020-02-07 14:45:43 +05:30 |
|
shravan
|
9051320e43
|
644 removing outdated tests and fixing stylistic issues
|
2020-02-06 23:55:46 +05:30 |
|
shravan
|
0891b23efd
|
644 stopped closing channel while go routine is sending values
|
2020-02-06 23:39:57 +05:30 |
|
shravan
|
a683f8d373
|
644 more elegant solution
|
2020-02-06 23:35:50 +05:30 |
|
shravan
|
f9293e9585
|
644 untested prototype
|
2020-02-06 22:32:50 +05:30 |
|
shravan
|
d38bf5c16e
|
658 prototype changes without policy lookup update
|
2020-02-05 15:55:37 +05:30 |
|
shivkumar dudhani
|
f608d4db18
|
variable substitution on copy and retry generate resource creation
|
2020-02-04 12:13:41 -08:00 |
|
shravan
|
0d4b256d13
|
644 updating changes with revised understanding of issue, also removed alot of deadcode to make changes
|
2020-02-03 18:51:18 +05:30 |
|
Shivkumar Dudhani
|
8c1d79ab28
|
linter suggestions (#655)
* cleanup phase 1
* linter fixes phase 2
|
2020-01-24 12:05:53 -08:00 |
|
Shivkumar Dudhani
|
1171ac691b
|
cleanup phase 1 (#653)
|
2020-01-24 09:37:12 -08:00 |
|
Shuting Zhao
|
4c83ab8b52
|
add more unit tests
|
2020-01-10 17:15:44 -08:00 |
|
Shuting Zhao
|
434ed20857
|
report violation in generate when path not present
|
2020-01-10 11:59:05 -08:00 |
|
Shuting Zhao
|
472fa29fce
|
move mutation to subpackage pkg/engine/mutate
|
2020-01-07 17:06:17 -08:00 |
|
Shivkumar Dudhani
|
5b8ab3842b
|
Support variable substitution (#549)
* initial commit
* variable substitution
* update tests
* update test
* refactor engine packages for validate & generate
* update vendor
* update toml
* support variable substitution in overlay mutation
* missing update
* fix indentation in logs
* store context values as single JSON document using merge patches.
* remove duplicate functions
* fix message string
* Handle processing of policies in background (#569)
* remove condition check while generating mutation patch as conditions are verified in the first iteration
* initial commit
* background policy validation
* correct message
* skip non-background policy process for add/update
* fix order to correct policy registration
* update comment
Co-authored-by: shuting <shutting06@gmail.com>
* refactor
Co-authored-by: shuting <shutting06@gmail.com>
|
2019-12-30 17:08:50 -08:00 |
|
Shuting Zhao
|
0969aa9bf9
|
implement quantity comparison
|
2019-12-13 13:17:22 -08:00 |
|
Shuting Zhao
|
b67577994a
|
update apiversion to v1 in code
|
2019-11-13 13:41:08 -08:00 |
|
Shuting Zhao
|
662f649926
|
add comment to the code
|
2019-11-05 11:04:43 -08:00 |
|
Shuting Zhao
|
d9335a5f8c
|
add warning message; remove existence anchor check in mutation
|
2019-11-04 19:23:48 -08:00 |
|
Shuting Zhao
|
ef8bf695b1
|
mutate: support anchor on map/array
|
2019-10-31 20:38:24 -07:00 |
|
shivkumar dudhani
|
3fa8834b4a
|
policy validation: refactoring
|
2019-10-21 14:22:31 -07:00 |
|
shivkumar dudhani
|
f6367cfe4a
|
add negation anchor
|
2019-10-10 16:59:08 -07:00 |
|
shivkumar dudhani
|
515a31199e
|
update equality operator
|
2019-10-01 13:08:34 -07:00 |
|
shivkumar dudhani
|
17d80a08c0
|
introduce equality anchor
|
2019-10-01 12:35:14 -07:00 |
|
shivkumar dudhani
|
44af35d6e4
|
support wild cards for namespaces in rule resource description
|
2019-09-12 17:11:55 -07:00 |
|
shivkumar dudhani
|
5a6814a588
|
fix return values
|
2019-09-04 09:56:44 -07:00 |
|
shivkumar dudhani
|
dee4eef44a
|
check the exclude conditions with AND
|
2019-09-03 19:31:42 -07:00 |
|
shivkumar dudhani
|
5b80da32ba
|
replace policyInfo with engineResponse
|
2019-08-26 13:34:42 -07:00 |
|
shivkumar dudhani
|
b062d70e29
|
initial redesign
|
2019-08-23 18:34:23 -07:00 |
|
shivkumar dudhani
|
0b5cc03b2d
|
engineResponse to contain stats
|
2019-08-19 18:57:19 -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
|
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 |
|
Shuting Zhao
|
6b1b6dddfa
|
combine policy engine returns into single struct
|
2019-08-14 15:18:46 -07:00 |
|
shivkumar dudhani
|
aed0ed0dc1
|
clean up
|
2019-08-14 10:01:47 -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 |
|
shuting
|
4d684fca51
|
Merge pull request #249 from nirmata/filter_resources
Filter resources
|
2019-07-31 18:04:44 -07:00 |
|
shivkumar dudhani
|
afe54e2953
|
rebase with master
|
2019-07-31 17:43:46 -07:00 |
|
Shuting Zhao
|
dedec6ec6c
|
Merge branch 'master' into 196_anchor_selection_on_peer
|
2019-07-31 17:17:26 -07:00 |
|
shivkumar dudhani
|
fde4de5017
|
existing resources checks all namespace, instead of jst default it left blank
|
2019-07-31 17:05:26 -07:00 |
|
Shuting Zhao
|
ff45794455
|
patch overlay
|
2019-07-26 15:54:42 -07:00 |
|
Shuting Zhao
|
256240dc46
|
Merge commit 'c1916a8bfc5b35499638428fbcda12ca42babdc3' into 196_anchor_selection_on_peer
|
2019-07-26 13:47:23 -07:00 |
|
Shuting Zhao
|
900ebea247
|
check conditions
|
2019-07-26 12:01:09 -07:00 |
|
shivkumar dudhani
|
ba34d96c7d
|
annnotation patch
|
2019-07-25 13:14:55 -04:00 |
|
shivkumar dudhani
|
94a6f1a71a
|
match % exclude resources
|
2019-07-23 23:34:03 -04:00 |
|
shivkumar dudhani
|
cdc17f999d
|
process existing for generate & annotations
|
2019-07-23 03:07:11 -04:00 |
|