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

7928 commits

Author SHA1 Message Date
belyshevdenis
c0ce49052b NK-47: Added missed files 2019-03-25 10:11:50 +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
3302bdd619 NK-44: Secret is now in the separate yaml 2019-03-22 17:56:29 +02:00
belyshevdenis
e7af6c0e9a NK-44: Nodes are able now to pull private dockerhub images 2019-03-22 16:19:34 +02:00
Denis Belyshev
b978c0bc70 NK-31: Minor fix to readme 2019-03-22 01:05:14 +02:00
Denis Belyshev
10e3f4d233 NK-31: Deleted old files 2019-03-22 00:55:14 +02:00
Denis Belyshev
7b3f4fb592 NK-14: Small fixes in Readme. 2019-03-21 19:28:24 +02:00
Denis Belyshev
a9843b2f55 Merge branch 'master' of https://github.com/nirmata/kube-policy 2019-03-21 19:19:24 +02:00
Denis Belyshev
ba202207d8 NK-14: Updated Readme.
Added in-cluster installation instruction.
Added information about formating tool.
Minor fixes.
2019-03-21 19:18:43 +02:00
belyshevdenis
6662988124 NK-31: Refactoring 2019-03-21 18:14:26 +02:00
belyshevdenis
0ef675f3c1 NK-31: Implemnted loggin about success to policy.
Also fixed showing of error on initialization.
2019-03-21 18:10:26 +02:00
belyshevdenis
3c3befe8ca NK-31: Changed DaemonSet to Deployment for kube-policy image 2019-03-21 18:10:26 +02:00
belyshevdenis
8f7a0dba95 NK-31: Fixed indentation 2019-03-21 18:10: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
dccb9e6f6e NK-31: Changed DaemonSet to Deployment for kube-policy image 2019-03-21 17:25:36 +02:00
belyshevdenis
20d9fcd563 NK-31: Fixed indentation 2019-03-21 16:56:03 +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
18e8efbd37 NK-31: Updated documentation from master:
Merge branch 'master' into NK-31_Bugfix
2019-03-21 15:14:16 +02:00
Denis Belyshev
cb4d126216 NK-14: Updated example for ResourceQuota 2019-03-20 16:23:20 +02:00
belyshevdenis
0afd1c279f NK-31: Added tests for CA extraction from clientset 2019-03-20 12:37:05 +02:00
belyshevdenis
89b211d1f9 NK-31: Implemented webhook registration logic. 2019-03-19 21:32:31 +02:00
belyshevdenis
13c9611402 Merge branch 'master' into NK-31_Bugfix 2019-03-19 16:26:36 +02:00
belyshevdenis
1ee3987ee2 Merge documentation and bugfix 2019-03-19 14:16:18 +02:00
belyshevdenis
f0fb3c671d NK-31: Fixed reporting about patching errors 2019-03-19 14:16:09 +02:00
Denis Belyshev
807dc1f23c NK-14: Updated documentation, added examples. 2019-03-19 14:06:12 +02:00
belyshevdenis
c126da313c NK-14: Prepared repo to publishing.
Updated README.md, crd dir renamed to definitions, removed some test yamls.
2019-03-18 18:59:30 +02:00
belyshevdenis
0f85e09f7e NK-31: Fixed reaction on server creation error 2019-03-15 19:26:13 +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
0144ffc149 NK-31: Fixed toml file 2019-03-15 18:13:45 +02:00
belyshevdenis
491f4baf78 NK-31: Added missed file 2019-03-15 17:58:16 +02:00
belyshevdenis
91173c0b25 NK-31: Fixed "patches" field to "patch" in validation definition. 2019-03-14 18:05:24 +02:00
belyshevdenis
6844c606ff NK-31: Updated validation field in crd.yaml. Added new constraints. Fixed patch value type from string to AnyValue 2019-03-14 15:09:48 +02:00
belyshevdenis
a9ebf2b7e3 NK-31: Modified crd.yaml - added validation field that constraints policy resource creation. 2019-03-14 14:00:57 +02:00
belyshevdenis
647985ed80 NK-31: Implemented the application of policies in order of their creation timestamps. 2019-03-13 12:57:04 +02:00
belyshevdenis
85c84046af NK-31: SerializePatches decomposed to ProcessPatches and JoinPatches. Implemented new tests for ProcessPatches, used it in mutation webhook. Added options for behavior on errors while patching. Improved and refactored code for mutation webhook. Added dependency from json-patch lib. 2019-03-12 22:02:39 +02:00
belyshevdenis
e2b7444271 NK-31: Removed processPatchValue function because it causes validation mismatches, changed tests. 2019-03-12 15:20:52 +02:00
belyshevdenis
040ea99f41 NK-31: Fixed compilation 2019-03-12 14:53:32 +02:00
belyshevdenis
6845b48068 NK-31: Implemented validation of failurePolicy field. 2019-03-12 14:42:24 +02:00
belyshevdenis
c7ebbc2def NK-31: Types validation methods moved to separate source file.
assertEq and assertNe utils replaced by gotest.tools/assert, deleted these utils.
Implemented proper serialization of JSON patches: all simple types  in values are converted to sting, all maps of interfaces are converted to maps of strings. I.e. implemented applying of JSON patches directly from values in policies.
2019-03-11 20:50:06 +02:00
belyshevdenis
b674120db8 NK-31: used gotest.tools/assert package instead of utils in admission_test 2019-03-11 19:27:22 +02:00
belyshevdenis
70b658b359 NK-31: Fixed supporting policies for Endpoints 2019-03-11 16:17:58 +02:00
belyshevdenis
43bb3a47e7 NK-23: Fixed README.md 2019-03-07 18:51:14 +02:00
belyshevdenis
8c8c01a452 NK-23: Fixed readme and deployment script, deleted extra resource. 2019-03-07 18:48:02 +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
b320b4b433 NK-23: Implemented Validate() methods for structures in types.go.
Implemented tests for added methods.
Added usage of Validate() methods to the code, removed old checks.
Fixed some comments, added new comments.
2019-03-05 20:04:23 +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