Denis Belyshev
37f895f69a
Fixed old tests on new function ResourceMeetsDescription (added the new file utils-test.go)
...
Resource representation formatted in utils-test.go
Deleted irrelevant tests from controller-test.go
Fixed an issue with registration-test.go (tests covered ExtractCA func instead of extractCA)
2019-06-07 14:46:18 +03:00
shivdudhani
200f3fce63
refactor code
2019-06-05 17:43:59 -07:00
Denis Belyshev
3add83c1fc
Fixed output of validation messages.
...
Added test whcih validates ImagePullPolicy.
2019-06-05 15:02:58 +03:00
Denis Belyshev
e571f730b2
127: Implemented usage of result package in validation and mutation functions.
2019-06-05 13:43:07 +03:00
shivdudhani
c205cca38b
introduce glog, remove log.logger references
2019-05-30 12:28:56 -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
shivdudhani
19e137690f
resolve merge conflicts with branch release-0.1
2019-05-22 16:17:26 -07:00
kacejot
f776e26dcc
Updated code due to changes in structure
2019-05-22 18:29:10 +01:00
kacejot
9bea87ec75
Merge branch 'master' into mutating-overlay
2019-05-22 14:58:42 +01:00
shivdudhani
c99e1dcc19
redesign: introduce cache discovery interface
2019-05-22 00:16:22 -07:00
shuting
de83a16493
rename pkg to kyverno
2019-05-21 11:00:09 -07:00
shivdudhani
11d0923e36
replace typed client with dynamic client
2019-05-21 09:43:45 -07:00
Maxim Goncharenko
302090cd86
Implemented base for Mutation Overlay
2019-05-21 18:27:56 +03:00
shuting
fae1a4b058
Merge branch 'develop' into 25_CLI-tool
2019-05-20 13:04:45 -07:00
shuting
ffe644f821
Support Mutate from command line
2019-05-20 13:02:55 -07:00
shivdudhani
459be76eb5
support all registered GVK for policy application in admission-controller
2019-05-20 11:43:13 -07:00
shivdudhani
5fcf9adfc5
rebase with develop
2019-05-20 11:01:47 -07:00
shivdudhani
5be203d2ce
group version registration and names correction for gvk
2019-05-20 10:56:12 -07:00
Maxim Goncharenko
91de076363
Merge branch 'develop' into lists-validation
2019-05-20 17:25:57 +03:00
Maxim Goncharenko
0aebb2a88e
Fixed int and float types mismatch
2019-05-20 17:07:09 +03:00
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
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
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
e8de9a111a
Finished Generate() logic to actual generating the resource
2019-05-16 14:09:02 -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
Maxim Goncharenko
113fe517b4
Merge branch 'develop' into lists-validation
2019-05-15 15:59:06 +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
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
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
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