1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 15:37:19 +00:00
Commit graph

3821 commits

Author SHA1 Message Date
shivdudhani
a8d3dd79ee initial client & controller test 2019-06-11 14:35:26 -07:00
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
shuting
1013a8a637 Allow user to run Kyverno in debug mode 2019-06-10 18:10:51 -07: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
0629b1e9a5 Merge remote-tracking branch 'refs/remotes/origin/0.3-bugfix' into 0.3-bugfix 2019-06-05 17:40:22 +03:00
Denis Belyshev
50610af82d Added nil support 2019-06-05 17:35:34 +03:00
Denis Belyshev
fb678cbafa Fixed spelling 2019-06-05 17:28:50 +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
shuting
d9229b329b change logger to glog 2019-06-03 17:54:19 -07:00
shuting
c0e98e74cf Merge branch 'master' into 69_parse_multiple_resources 2019-06-03 16:37:18 -07:00
shuting
1dcdb0033c
Merge pull request #135 from nirmata/21_enhancement
update namespace trigger + update documentation
2019-06-03 16:32:20 -07:00
Shivkumar Dudhani
21b3c3cc21
Merge pull request #128 from nirmata/65_CLI_unmarshall_resource
Decode resource yaml into kubernetes struct
2019-06-03 16:21:08 -07:00
shuting
82c930ebfc parse multiple documents defined in one yaml file 2019-06-03 16:10:18 -07:00
shivdudhani
ecca97b2a0 update namespace trigger + update documentation 2019-06-03 16:02:34 -07:00
shuting
0b85f1da0b update vendor due to build failure 2019-06-03 15:14:06 -07:00
shuting
1adfb3a339 Merge branch '65_CLI_unmarshall_resource' into 69_parse_multiple_resources 2019-06-03 13:26:07 -07:00
shivdudhani
f5d9b039ec add to-do comments 2019-06-03 10:36:40 -07:00
shuting
ed811d7656 Merge branch 'master' into 65_CLI_unmarshall_resource
# Conflicts:
#	pkg/kyverno/apply/apply.go
2019-06-03 09:36:06 -07:00
shivdudhani
b59ab9a84a update from to clone for copying existing resource 2019-05-31 18:45:23 -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
shuting
90a9189412 Decode resource yaml into actual kubernetes object if kubeconfig exists. 2019-05-31 16:58:36 -07:00
shivdudhani
c205cca38b introduce glog, remove log.logger references 2019-05-30 12:28:56 -07:00
Denys Bielyshev
81ae5b0eb6
Merge pull request #123 from nirmata/119_version
Show version info for each release
2019-05-30 13:18:45 +01:00
shuting
f4db774726 Merge branch '121_rework' into 65_CLI_unmarshall_resource 2019-05-29 16:44:46 -07:00
shuting
4b568efd70 print version info in main log 2019-05-29 15:24:19 -07:00
shuting
ea08ef3fbe add the version command 2019-05-29 14:44:21 -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
Shivkumar Dudhani
88f3579b2c
Merge pull request #114 from nirmata/98_bug
update error msg and documentation+ support self-signed certificate for testing
2019-05-28 20:18:42 -07:00
shivdudhani
9e0149739f support self-signed certificates via secrets 2019-05-28 18:16:22 -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