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

355 commits

Author SHA1 Message Date
Maxim Goncharenko
8f3361e96b Fixed issue with no message on errorness validation for user 2019-05-20 15:41:23 +03:00
Maxim Goncharenko
be13b041b6 Fixed issue with validation error messages 2019-05-20 14:48:38 +03:00
Jim Bugwadia
2b1c95d8b8 - add long description
- add footer CTA
2019-05-20 00:05:42 -07:00
Shivkumar Dudhani
4b380f758f
Merge pull request #45 from nirmata/28-Stateless-policy-engine
28 stateless policy engine
2019-05-17 14:39:16 -07:00
Jim Bugwadia
092fa3aa0a - move prior examples to 'test' and add new validation examples 2019-05-17 14:18:10 -07:00
shuting
b036161f92 Merge branch 'develop' into 28-Stateless-policy-engine 2019-05-17 11:41:09 -07:00
shuting
47916acc63 move test utils to patches_test.go 2019-05-17 11:36:58 -07:00
shivdudhani
80d074d877 Merge branch 'develop' of github.com:nirmata/kube-policy into 29_dynamic_client 2019-05-17 11:22:12 -07:00
Shivkumar Dudhani
9928b1358f
Merge pull request #51 from nirmata/lists-validation
Lists validation
2019-05-17 11:20:45 -07:00
shuting
e878c8bc1e move config to pkg/config 2019-05-17 11:15:30 -07:00
shivdudhani
8d5ae48c30 rebase with 28 stateless policy engine 2019-05-17 09:15:10 -07:00
Maxim Goncharenko
12c5274718 I have applied notes from review 2019-05-17 14:51:54 +03:00
Maxim Goncharenko
a6bb4b8564 Refactored the operator logic 2019-05-17 14:22:03 +03:00
Maxim Goncharenko
0a486a7f54 I have finished implementing validation logic using TDD 2019-05-17 14:03:06 +03:00
shuting
e499188948
Merge pull request #43 from nirmata/lists-validation
Lists validation
2019-05-16 18:14:38 -07:00
shuting
232357ee0e Merge branch 'lists-validation' into 28-Stateless-policy-engine
# Conflicts:
#	pkg/engine/generation.go
2019-05-16 18:09:20 -07:00
shuting
36f76a0f2f - Correct crd yaml, since we only allow 1 generation per rule. - update example for generator 2019-05-16 17:19:38 -07:00
shuting
e8de9a111a Finished Generate() logic to actual generating the resource 2019-05-16 14:09:02 -07:00
Maxim Goncharenko
e580c5e0ac Merge branch 'develop' into lists-validation 2019-05-16 21:38:42 +03:00
shivdudhani
951a092147 fix merge conflict 2019-05-16 11:38:02 -07:00
Maxim Goncharenko
00b667b6e4 Added tests for validation logic 2019-05-16 21:37:54 +03:00
Maxim Goncharenko
354287ebb4 Fixed issue with checking parentheses 2019-05-16 21:36:30 +03:00
shivdudhani
e938866e06 PR review changes 2019-05-16 11:05:13 -07:00
shivdudhani
11195d9b51 rebase with develop 2019-05-16 10:25:18 -07:00
Maxim Goncharenko
7f3500a6fb Fixed errors in type validation 2019-05-16 19:31:02 +03:00
Maxim Goncharenko
8e65521775 Finished implementing validation patterns 2019-05-16 17:37:05 +03:00
Max Goncharenko
1198365fb6
Merge pull request #40 from nirmata/28-Stateless-policy-engine
Add unit tests and format the project
2019-05-16 13:37:14 +03:00
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