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

52 commits

Author SHA1 Message Date
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
shuting
1013a8a637 Allow user to run Kyverno in debug mode 2019-06-10 18:10:51 -07:00
shivdudhani
200f3fce63 refactor code 2019-06-05 17:43:59 -07:00
shivdudhani
183b17828e support generation of any resource 2019-05-31 17:59:36 -07:00
Denys Bielyshev
81ae5b0eb6
Merge pull request #123 from nirmata/119_version
Show version info for each release
2019-05-30 13:18:45 +01:00
shuting
4b568efd70 print version info in main log 2019-05-29 15:24:19 -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
shuting
de83a16493 rename pkg to kyverno 2019-05-21 11:00:09 -07:00
shivdudhani
38baee7660 PR code review changes 2019-05-21 09:27:04 -07:00
shivdudhani
d728f363aa remove commented code 2019-05-20 11:08:36 -07:00
shivdudhani
5be203d2ce group version registration and names correction for gvk 2019-05-20 10:56:12 -07:00
shuting
e8de9a111a Finished Generate() logic to actual generating the resource 2019-05-16 14:09:02 -07:00
shuting
b58e4f5026 Format project with gofmt, govet, misspell 2019-05-15 18:53:45 -07:00
shivdudhani
ab008189e7 sharedinfomer factory + update status 2019-05-15 12:29:09 -07:00
shivdudhani
d315db7cb9 rebase with develop 2019-05-15 11:24:27 -07:00
shivdudhani
a375b0e55c replace kubeclient & add dynamic client 2019-05-15 07:30:22 -07:00
shuting
a36bb2fbac Implement Generate() 2019-05-14 18:20:41 -07:00
shuting
5dedbd844a Merge branch 'develop' into 28-Stateless-policy-engine
# Conflicts:
#	pkg/controller/processPolicy.go
#	pkg/engine/engine.go
#	pkg/engine/mutation.go
#	pkg/engine/mutation/patches.go
#	pkg/engine/validation.go
#	pkg/webhooks/server.go
2019-05-14 12:11:07 -07:00
shuting
6d65203d91 Merge branch 'develop' into feature_proposal_redesign_policycontroller_eventcontroller_violationbuilder
# Conflicts:
#	pkg/controller/processPolicy.go
#	pkg/engine/engine.go
#	pkg/engine/mutation.go
#	pkg/engine/mutation/checkRules.go
#	pkg/policyengine/validation.go
#	pkg/webhooks/server.go
#	pkg/webhooks/utils.go
2019-05-14 11:52:13 -07:00
shuting
3f293d8266 initial commit, remove kubeclient from policy engine 2019-05-14 11:24:40 -07:00
Maxim Goncharenko
c4a9e339f8 Implemented Validation Pattern base. Updated Webhooks registration logic. Updated project for using TLS package 2019-05-14 18:11:03 +03:00
shuting
d683340a2e Resolve PR 27 2019-05-13 18:17:28 -07:00
Maxim Goncharenko
1d291c6375 Moved webhook package to pkg 2019-05-13 21:34:46 +03:00
Maxim Goncharenko
f097faa5ef Moved server to webhook 2019-05-13 21:33:01 +03:00
Maxim Goncharenko
b60ec94267 Updated code in the project to be compilable with new version of Policy. Moved logic from webhooks/mutation.go to policyengine/mutation.go and server.go 2019-05-13 21:27:47 +03:00
shivdudhani
e4366c55be inital commit: redesign the policyengine to make it stateless 2019-05-10 22:34:14 -07:00
shivdudhani
6d83aa6b9e merge the changes with policy-engine 2019-05-10 12:36:55 -07:00
shivdudhani
04f5716f7b rename internal components 2019-05-10 10:38:38 -07:00
shivdudhani
9a7be94930 initial feature proposal 2019-05-10 00:05:21 -07:00
shivdudhani
0babf1f25d redesign event & violation builders. kubeclient to provide resource handlers 2019-05-06 09:12:37 -07:00
belyshevdenis
670881c71d NK-51: Added Deployment as owner of MutatingWebhookConfiguration. This allows kubernetes to delete webhook config, when deployment deletes. 2019-03-25 18:12:48 +02:00
belyshevdenis
4912f20885 NK-47: Implemented webhook deregistration.
TLS pair initialization functionality moved to init.go.
Separated server and mutation webhook objects, implemented registration of webhook with the creation of corresponding object.
Added comments for webhook configuration definitions, changed name of configuration for debug.
2019-03-22 22:11:55 +02:00
belyshevdenis
c662f1c9db NK-31: Renamed constants package to config 2019-03-21 18:09:14 +02:00
belyshevdenis
92c97a92e9 NK-31: Put constants in separate file. Updated install.yaml definition to create Service and DaemonSet. Fixed bug with webhook registration. 2019-03-21 15:57:30 +02:00
belyshevdenis
89b211d1f9 NK-31: Implemented webhook registration logic. 2019-03-19 21:32:31 +02:00
belyshevdenis
0597c3ec4a NK-31: Decomposed controller initialization functions. 2019-03-15 19:22:06 +02:00
belyshevdenis
4e63fcbfa0 NK-31: Implemented creation TLS certificate
Implemented storing the certificates in secret within the cluster.
Implemented the cheking certificate's expiration date.
Implemented initialization of server with certs data instead of files.
2019-03-15 19:03:55 +02:00
belyshevdenis
2ef3bba93d NK-23: Thre creation of default loggers moved to inside classes.
Removed fatal termination from object constructors.
Implemented new KubeClient class with test method which creates a Secret.
Improved comments for the types structures.
Added WebhookServerConfig structure instead of the most parameters to NewWebhookServer.
2019-03-04 20:40:02 +02:00
belyshevdenis
d593fe1a92 NK-22: Fixed build error with Selector pointer. Added comments. Changed tab to 4 spaces identation. Added unit tests for LabelSelector. 2019-03-01 17:59:59 +02:00
belyshevdenis
68e468a699 NK-21: Added checking request by selector. Added tests for this logic. Added test policy file for selectors. 2019-02-28 18:43:20 +02:00
belyshevdenis
ea9491a105 NK-10: Controller renamed to PolicyController. Created MutationWebhook class in new webhook package. Implemented filtering of incoming objects by Kind. Implemented simple usage of PolicyController in MutationWebhook. 2019-02-21 20:31:18 +02:00
belyshevdenis
5680480600 NK-9: Merged Webhook server and Policy controller. Added logger for controller. 2019-02-14 16:40:36 +02:00
belyshevdenis
65f766d905 NK9: Removed storage logic due to the policies cache. Updated types due to the policy-example.yaml 2019-02-14 14:33:36 +02:00
belyshevdenis
ddf3e4c278 NK9: Updated policy crd and added minimal policy sample to check controller functions 2019-02-12 19:01:25 +02:00
belyshevdenis
e96562a1cf NK9: Controller is a separate module now 2019-02-12 16:57:36 +02:00
belyshevdenis
88c90eaa4d NK-8: Implemented basic HTTPS server with stub for mutation webhook. Implemented script for generating TLS key and certificate. Created MutatingWebhookConfiguration.yaml with declaration of future service. 2019-02-12 16:30:40 +02:00
belyshevdenis
a6bc743f99 NK9: Added controller module. Added main loop for controller. Added informer for Policies. Fixed apis definitions to fit the Policy 2019-02-11 19:49:27 +02:00