1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
Commit graph

731 commits

Author SHA1 Message Date
shivkumar dudhani
d68c4ea033 check for annotattions for resource updates only 2019-07-19 13:53:36 -07:00
shivkumar dudhani
9fcb4b7b10 bypass annotation additions 2019-07-19 12:47:20 -07:00
shivkumar dudhani
f9b5ac9a27 flag, violations 2019-07-18 10:22:20 -07:00
shivkumar dudhani
129ced1b2a annotations creation,update & removal 2019-07-17 23:13:28 -07:00
shivkumar dudhani
e5f208e303 annotation generation from policy controller 2019-07-17 17:53:13 -07:00
shivkumar dudhani
bd9e8585c7 annotations v1 2019-07-17 15:04:02 -07:00
shivkumar dudhani
a36ed10425 change flag & corrections 2019-07-16 15:53:14 -07:00
shivkumar dudhani
68a48373ae add delete op to webhook & violation removal 2019-07-15 20:16:06 -07:00
shivkumar dudhani
f47910da53 update flag & support ValidationFailureAction flag 2019-07-15 19:14:42 -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
d8da84a5b5 added trace in debug mode on issue faile to register webhookConfigurations 2019-07-03 14:09:52 -07:00
Shuting Zhao
3a92bde097 move commonly used code to pkg/utils 2019-07-03 11:52:10 -07:00
Shuting Zhao
f10d82f555 change webhook configuration on policy to be more specific 2019-07-03 11:38:19 -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
Shuting Zhao
9bdc0b17f6 rename kyverno-deployment in pkg/config/config.go 2019-06-27 13:38:51 -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
shuting
1013a8a637 Allow user to run Kyverno in debug mode 2019-06-10 18:10:51 -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
7ec9315e57 use single secret for tlsPair, check for secret annotation for self-signed cert & change type of secret from generic to tls 2019-05-29 12:36:03 -07:00
shivdudhani
9e0149739f support self-signed certificates via secrets 2019-05-28 18:16:22 -07:00
shivdudhani
19e137690f resolve merge conflicts with branch release-0.1 2019-05-22 16:17:26 -07:00