1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Commit graph

21 commits

Author SHA1 Message Date
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
6662988124 NK-31: Refactoring 2019-03-21 18:14:26 +02:00
belyshevdenis
b160fabcba NK-31: Put constants in separate file. Updated install.yaml definition to create Service and DaemonSet. Fixed bug with webhook registration. 2019-03-21 18:10:26 +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
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
898652b9a2 NK-23: Improved comments, commited crd with status subresource. 2019-03-07 17:57:43 +02:00
belyshevdenis
0a939e44dc NK-23: Implemented logging to the policy object/status.
Refactored MutationWebhook, modified controller logs.
2019-03-07 17:42:37 +02:00
belyshevdenis
9d5f77a941 NK-23: Implemented generating of secrets and configmaps after namespace is created.
Functions for parsing metadata moved to utils.
Changed login of mutation webhook according to last changes.
2019-03-06 13:01:17 +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
eb5c486ae1 NK-10: Refactored policy types, used patch operation struct from there instead of internal struct.
Implemented checking of incoming request to correspond the policy rule, added tests.
Implemented generation of JSON patches according to patches in policy object, added tests.
Implemented base version of Mutate function as a wrapper for all mutation functions.
2019-02-22 18:12:14 +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
81e54bb6a0 Implemented test webhook, fixed script for certificate generation, fixed project dependencies 2019-02-21 18:13:21 +02:00
belyshevdenis
0f78f5cb82 NK-10: Small fixes after dev testing 2019-02-19 18:01:47 +02:00
belyshevdenis
3661e012a5 NK-10: Implemented basic logic for mutation, added logs 2019-02-15 20:00:49 +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
6765c97106 NK-8: Implemented deployment script for free (local) and in-cluster usage of the controller. Added readme file for scripts, improved scripts: implemented more convenient way to pass arguments. Removed hardcode from server.go. 2019-02-13 19:57:18 +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
ed86223f3e 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:12:03 +02:00
belyshevdenis
44ddeb9a68 NK-8: Implemented simple webserver with empty mutation handler 2019-02-07 19:22:04 +02:00