shivkumar dudhani
aed0ed0dc1
clean up
2019-08-14 10:01:47 -07:00
shivkumar dudhani
9af6bf9003
update testing v1
2019-08-12 10:02:07 -07:00
shivkumar dudhani
a5e1b43eb7
policy violation support (incomplete)
2019-08-09 20:08:22 -07:00
shivkumar dudhani
2cdeac5988
start creation policy violation
2019-08-09 19:12:50 -07:00
shivkumar dudhani
1e621146be
test policy engine on admission requests
2019-08-09 16:55:43 -07:00
shivkumar dudhani
135f241a4a
event generator cleanup
2019-08-09 13:41:56 -07:00
Shuting Zhao
a8acc9eb5a
implement deletion logic
2019-08-08 13:09:40 -07:00
Shuting Zhao
6c12a76ab2
register webhookconfigurations when policy first applied
2019-08-07 18:01:28 -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
6d49a728a1
- update install_debug.yaml - add debug log
2019-07-23 17:54:31 -07:00
shivkumar dudhani
e5f208e303
annotation generation from policy controller
2019-07-17 17:53:13 -07:00
shivkumar dudhani
68a48373ae
add delete op to webhook & violation removal
2019-07-15 20:16:06 -07:00
shivkumar dudhani
68a6751990
restructure webhooks pkg
2019-07-15 16:07:56 -07:00
shivkumar dudhani
abfe176bac
add helper functions
2019-07-15 15:55:53 -07:00
shivkumar dudhani
a5817f5863
violation clean up
2019-07-15 14:49:22 -07:00
shivkumar dudhani
29a89d20ad
violation cleanup for existing resources
2019-07-15 11:29:58 -07:00
Shuting Zhao
e820a80c5b
add events for generation
2019-07-08 16:53:34 -07:00
shuting
db28e0fb63
Merge pull request #210 from nirmata/157_bug
...
resource patched after every rule + rm PatchBytes
2019-07-08 10:47:55 -07:00
shuting
23a6c40328
Merge pull request #209 from nirmata/202_refactor_generate
...
202 refactor generate
2019-07-08 10:46:38 -07:00
shivkumar dudhani
0ee748a95f
resource patched after every rule + rm PatchBytes
2019-07-05 15:20:43 -07:00
shivkumar dudhani
0f925dc282
remove references to old generate flow
2019-07-05 11:33:12 -07:00
Shuting Zhao
3a92bde097
move commonly used code to pkg/utils
2019-07-03 11:52:10 -07:00
Shuting Zhao
c3d4dbf228
create separate validate webhook for policy validation
2019-07-02 18:42:07 -07:00
Shuting Zhao
ff10a6f6e7
Validate uniqueness of the rule name within the policy
2019-07-02 17:24:38 -07:00
shivkumar dudhani
444549d9b7
ctr get policy->client notfrom plister(kind empty)
2019-06-28 17:22:00 -07:00
Shuting Zhao
9e50bd08a4
Merge branch '160_generate_events' into proposal_result_structure
...
# Conflicts:
# pkg/controller/controller.go
# pkg/webhooks/server.go
2019-06-27 13:56:15 -07:00
shivkumar dudhani
f193ad00de
remove commented code
2019-06-27 11:42:10 -07:00
Shuting Zhao
beb693479e
create events on UPDATE request
2019-06-27 11:36:10 -07:00
Shuting Zhao
1b00b35e36
remove success event for policy
2019-06-27 10:42:56 -07:00
Shuting Zhao
cd7b5a59a5
update msg info in event builder
2019-06-27 10:04:41 -07:00
Shuting Zhao
639882dc06
Merge branch '160_generate_events' into proposal_result_structure
...
# Conflicts:
# pkg/engine/engine.go
# pkg/event/controller.go
# pkg/event/msgbuilder.go
# pkg/event/util.go
# pkg/info/info.go
# pkg/webhooks/server.go
2019-06-26 18:16:06 -07:00
Shuting Zhao
b63b3b869e
create event from policy info
2019-06-26 18:04:50 -07:00
shivkumar dudhani
42d24f6cc7
create events for processExisting
2019-06-26 12:19:11 -07:00
shivkumar dudhani
ca3e5da02c
remove else
2019-06-25 18:51:50 -07:00
shivkumar dudhani
e6d609a51e
update cli
2019-06-25 18:48:25 -07:00
shivkumar dudhani
b7655ae747
introduce info struct for engine responses
2019-06-25 18:16:02 -07:00
shivdudhani
39a17911c3
code review corrections
2019-06-19 14:05:23 -07:00
shivdudhani
50b0da48a1
support comma seperated kinds
2019-06-18 11:47:45 -07:00
shivdudhani
6fd7cba0ea
initial prototype commit
2019-06-17 23:41:18 -07:00
shivdudhani
6565cf43d0
apply policy only if kind matches
2019-06-17 19:03:35 -07:00
Denis Belyshev
37f895f69a
Fixed old tests on new function ResourceMeetsDescription (added the new file utils-test.go)
...
Resource representation formatted in utils-test.go
Deleted irrelevant tests from controller-test.go
Fixed an issue with registration-test.go (tests covered ExtractCA func instead of extractCA)
2019-06-07 14:46:18 +03:00
shivdudhani
200f3fce63
refactor code
2019-06-05 17:43:59 -07:00
Denis Belyshev
3add83c1fc
Fixed output of validation messages.
...
Added test whcih validates ImagePullPolicy.
2019-06-05 15:02:58 +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
shivdudhani
6cc4148fac
move client to pkg, helper script for self-signed certs & update documentation
2019-05-29 14:12:09 -07:00
shivdudhani
19e137690f
resolve merge conflicts with branch release-0.1
2019-05-22 16:17:26 -07:00
kacejot
f776e26dcc
Updated code due to changes in structure
2019-05-22 18:29:10 +01:00
kacejot
9bea87ec75
Merge branch 'master' into mutating-overlay
2019-05-22 14:58:42 +01:00