Denis Belyshev
804d610fc7
Refactored overlays and updated tests. Now new element in array is added to the end
2019-06-11 16:54:19 +03:00
Denis Belyshev
7897f1db05
Refactored pattern.go
2019-06-10 17:32:26 +03:00
Denis Belyshev
c9df93ce99
Added merge of results in map validation logic
2019-06-10 17:10:05 +03:00
Denis Belyshev
97be6ad379
Added comments and refactored array processing validation logic
2019-06-10 17:07:03 +03:00
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
50610af82d
Added nil support
2019-06-05 17:35:34 +03:00
Denis Belyshev
181a1282e0
Fixed mutation by overlays
2019-06-05 16:44:53 +03:00
Denis Belyshev
8c7ea8d741
Fixed combining of results in Mutate function
2019-06-05 15:40:31 +03: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
Denys Bielyshev
55fe28d5bf
Merge pull request #140 from nirmata/117-wildcard_asterisk_fix
...
Fixed bug #117
2019-06-05 08:26:23 +01:00
Denis Belyshev
aadb3c0140
Fixed namespaces in validation_test.go
2019-06-05 10:24:18 +03:00
belyshevdenis
18842b81a1
Fixed bug #117
...
Added validation tests
2019-06-04 17:33:21 +03:00
shivdudhani
ecca97b2a0
update namespace trigger + update documentation
2019-06-03 16:02:34 -07:00
shivdudhani
2ecc1d21f7
rebase master
2019-05-31 18:31:21 -07:00
shivdudhani
183b17828e
support generation of any resource
2019-05-31 17:59:36 -07: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
Denis Belyshev
2a24f8dc3b
Fixed issue: null corresponds for non-existing field, 0 for ints and empty quotes for strings
2019-05-28 20:30:48 +01:00
Denis Belyshev
f57422ef79
Fixed issue when number comes from resource as string and does not being validated
2019-05-28 14:25:29 +03:00
Denis Belyshev
cde2f2b0a0
Fixed issue: string patterns always return true
2019-05-28 14:07:15 +03:00
Denis Belyshev
b42f517093
Fixed crash when checking operator on strings lesser than 2 chars
2019-05-28 13:13:57 +03:00
Denis Belyshev
22b942d229
Added bool support
2019-05-27 18:21:23 +03:00
Denis Belyshev
a85f646bd4
Removed excess Fatal log
2019-05-27 18:11:39 +03:00
Denis Belyshev
435a19152a
I have finished implementing patterns
2019-05-27 18:07:24 +03:00
Maxim Goncharenko
ac736bbf84
Written base for patterns using TDD
2019-05-27 14:46:29 +03:00
kacejot
8e73131f02
Fixed minor issue in overlay logic. Added tests
2019-05-23 19:13:39 +03:00
kacejot
18fc6d630f
Fixed: Overlay overwrites all items in the list
2019-05-23 16:31:00 +03:00
kacejot
f57cce907a
Fixed issue: Overlay was not returning error
2019-05-23 15:53:35 +03:00
kacejot
139e83c307
Merge remote-tracking branch 'refs/remotes/origin/master'
2019-05-23 14:52:12 +03:00
kacejot
7052d4bb93
Fixed issue: Overlay was not applied
2019-05-23 14:51:41 +03:00
Max Goncharenko
2bed831aff
Merge pull request #95 from nirmata/mutating-overlay
...
Fixed issue: The first element of array was always replaced
2019-05-23 10:55:08 +01:00
Max Goncharenko
feffc6238a
Update overlay.go
2019-05-23 12:51:45 +03:00
Maxim Goncharenko
8735ee7741
Fixed issue: The first element of array was always replaced
2019-05-23 12:45:56 +03:00
shivdudhani
19e137690f
resolve merge conflicts with branch release-0.1
2019-05-22 16:17:26 -07:00
kacejot
101870fb5e
Added Overlay logic to mutation handling
2019-05-22 22:54:38 +01:00
kacejot
1219063ff8
Updated unit tests
2019-05-22 22:43:19 +01:00
kacejot
09e0065d4c
Finished mutating overlay. Added several tests
2019-05-22 22:34:25 +01:00
shivdudhani
857aa81f3e
update the project name in api version and test
2019-05-22 10:53:01 -07:00
kacejot
ab31d980b6
Updated mutation base due to spec
2019-05-22 18:28:38 +01:00
kacejot
9bea87ec75
Merge branch 'master' into mutating-overlay
2019-05-22 14:58:42 +01:00
shivdudhani
31ce087504
support list of kind in resource, update the CRD openapischema & adapt the test and examples for the change
2019-05-21 15:43:43 -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
91b7a1b9ac
- handle operation remove case: if path does not exist - remove duplicate log - support validate in CLI
2019-05-20 15:14:01 -07: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
5fcf9adfc5
rebase with develop
2019-05-20 11:01:47 -07:00