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
shivdudhani
c99e1dcc19
redesign: introduce cache discovery interface
2019-05-22 00:16:22 -07:00
shuting
de83a16493
rename pkg to kyverno
2019-05-21 11:00:09 -07:00
shivdudhani
11d0923e36
replace typed client with dynamic client
2019-05-21 09:43:45 -07:00
Maxim Goncharenko
302090cd86
Implemented base for Mutation Overlay
2019-05-21 18:27:56 +03:00
shuting
fae1a4b058
Merge branch 'develop' into 25_CLI-tool
2019-05-20 13:04:45 -07:00
shuting
ffe644f821
Support Mutate from command line
2019-05-20 13:02:55 -07:00
shivdudhani
459be76eb5
support all registered GVK for policy application in admission-controller
2019-05-20 11:43:13 -07:00
shivdudhani
5fcf9adfc5
rebase with develop
2019-05-20 11:01:47 -07:00
shivdudhani
5be203d2ce
group version registration and names correction for gvk
2019-05-20 10:56:12 -07:00
Maxim Goncharenko
91de076363
Merge branch 'develop' into lists-validation
2019-05-20 17:25:57 +03:00
Maxim Goncharenko
0aebb2a88e
Fixed int and float types mismatch
2019-05-20 17:07:09 +03:00
Maxim Goncharenko
8f3361e96b
Fixed issue with no message on errorness validation for user
2019-05-20 15:41:23 +03:00
Maxim Goncharenko
be13b041b6
Fixed issue with validation error messages
2019-05-20 14:48:38 +03:00
shuting
e878c8bc1e
move config to pkg/config
2019-05-17 11:15:30 -07:00
shivdudhani
8d5ae48c30
rebase with 28 stateless policy engine
2019-05-17 09:15:10 -07:00
shuting
232357ee0e
Merge branch 'lists-validation' into 28-Stateless-policy-engine
...
# Conflicts:
# pkg/engine/generation.go
2019-05-16 18:09:20 -07:00