1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
Commit graph

5278 commits

Author SHA1 Message Date
shuting
b58e4f5026 Format project with gofmt, govet, misspell 2019-05-15 18:53:45 -07:00
shuting
9956f3ee12 add unit test pkg/apis/policy/v1alpha1/utils_test.go 2019-05-15 18:27:02 -07:00
shivdudhani
ff48ba08ac cleanup 2019-05-15 15:08:06 -07:00
shivdudhani
ab008189e7 sharedinfomer factory + update status 2019-05-15 12:29:09 -07:00
shuting
35f829e4b6 remove pkg/engine/mutation/checkRules.go since the logic is moved to /pkg/engine/mutation/utils.go 2019-05-15 11:47:38 -07:00
shuting
b08357a170 update pkg/engine/mutation/patches_test.go 2019-05-15 11:45:16 -07:00
shivdudhani
d315db7cb9 rebase with develop 2019-05-15 11:24:27 -07:00
Maxim Goncharenko
281dc257b9 Reworking validation logic due to the anchor feature 2019-05-15 19:25:49 +03:00
shivdudhani
a375b0e55c replace kubeclient & add dynamic client 2019-05-15 07:30:22 -07:00
Maxim Goncharenko
800eb9b92d Removed excess validation 2019-05-15 16:15:16 +03:00
Maxim Goncharenko
113fe517b4 Merge branch 'develop' into lists-validation 2019-05-15 15:59:06 +03:00
Max Goncharenko
b57749672e
Merge pull request #38 from nirmata/28-Stateless-policy-engine
28-stateless policy engine
2019-05-15 15:52:35 +03:00
Maxim Goncharenko
5be337471b Removed pkg/engine/utils_test.go because it's never used 2019-05-15 14:26:32 +03:00
Maxim Goncharenko
10e8d2cfe0 Moved common utils for mutation, validation and generation to pkg/engine/utils 2019-05-15 14:25:32 +03:00
Maxim Goncharenko
44ba5dbd8f Removed TODO comment about ProcessExisting 2019-05-15 14:05:28 +03:00
shuting
b4bb7e0e69 Add comfigmap generator example 2019-05-14 18:22:13 -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
af9d1071e9
Merge pull request #35 from nirmata/feature_proposal_redesign_policycontroller_eventcontroller_violationbuilder
- Resolve conflicts with PR #36. - Merge policy v2, update pkg structure
2019-05-14 11:54:21 -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
36b5507389
Merge pull request #36 from nirmata/validation-patterns
Validation patterns
2019-05-14 11:26:28 -07:00
shuting
3f293d8266 initial commit, remove kubeclient from policy engine 2019-05-14 11:24:40 -07:00
Maxim Goncharenko
bcdbe420a8 Fixed issue with absent kind in resource raw data in PolicyEngine 2019-05-14 19:40:17 +03: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
Maxim Goncharenko
b3452d048f Removed excess channel awaiting 2019-05-14 18:02:11 +03:00
Maxim Goncharenko
6dc253eca1 Updated ConfigMap example due to the policy-v2 spec 2019-05-14 18:00:25 +03:00
Maxim Goncharenko
64459a74e3 Updated constants. Added constants for Validating Webhook 2019-05-14 17:58:59 +03:00
Maxim Goncharenko
d4148b0255 Moved TLS utils to named package 2019-05-14 17:57:57 +03:00
Maxim Goncharenko
738397ecae Added version arg for compile-image.sh 2019-05-14 14:18:16 +03:00
shuting
d683340a2e Resolve PR 27 2019-05-13 18:17:28 -07:00
shuting
77a52f4586
Merge pull request #31 from nirmata/policy-v2
Update project to Policy v2 specification
2019-05-13 15:12:46 -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
Maxim Goncharenko
9e8540f280 Made update-codegen script crossplatform 2019-05-13 21:24:02 +03:00
Maxim Goncharenko
c22add9969 Moved all util funcs to the utils.go. Added deepcopy functions for policy types 2019-05-13 21:20:31 +03:00
Maxim Goncharenko
8fea251837 Made mutation, validation, generation and overlay optional due to the specs 2019-05-13 21:18:02 +03:00
shivdudhani
28eb4fa763 initial commit: call generate from policy controller 2019-05-13 09:47:37 -07:00
Maxim Goncharenko
f2e89ca993 Updated all the kubernetes dependencies to the latest 1.14 version 2019-05-13 16:11:16 +03:00
Maxim Goncharenko
43ebd8c12c Changed policy type definition due to the policy-v2 specification 2019-05-13 16:10:00 +03:00
Maxim Goncharenko
ee6630333e Updated install.yaml due to the policy-v2 specifications 2019-05-13 16:08:02 +03:00
Max Goncharenko
8077cfed87
Merge pull request #27 from nirmata/feature_proposal_redesign_policycontroller_eventcontroller_violationbuilder
Feature proposal redesign policycontroller eventcontroller violationbuilder
2019-05-13 15:13:54 +03:00
Jim Bugwadia
a624cf97d4 fix project name 2019-05-12 15:54:30 -07:00
Jim Bugwadia
dd3d570d8c remove extra instruction in publish script 2019-05-12 15:21:43 -07:00
Jim Bugwadia
b251cd0e6f fix GitHub pages publishing dir 2019-05-12 15:20:12 -07:00
Jim Bugwadia
4124fc7d79 update git ignore 2019-05-12 15:15:05 -07:00
Jim Bugwadia
fcbb9e615a update GitHub Pages content 2019-05-12 15:13:53 -07:00
shuting
10e693d318 Remove commented code 2019-05-12 16:29:31 -05:00
Jim Bugwadia
12482703d6 try relative URLs 2019-05-12 04:23:41 -07:00
Jim Bugwadia
419f488d49 Publishing to gh-pages (publish.sh) 2019-05-12 04:16:31 -07:00