shivdudhani
853815720d
replace utilruntime.HandleError with glog.Error
2019-06-20 11:20:09 -07:00
belyshevdenis
46cbbf9568
Implemented validation across same yaml
2019-06-20 18:21:55 +03:00
shivdudhani
e1d4effd4e
Merge branch '152_automate_testing' of github.com:nirmata/kyverno into 152_automate_testing
2019-06-19 15:13:11 -07:00
shivdudhani
40e8498363
rebase with master
2019-06-19 15:12:48 -07:00
Shivkumar Dudhani
589298114e
Merge branch 'master' into 152_automate_testing
2019-06-19 15:04:34 -07:00
shivdudhani
096ea1b7cf
add false for dryrun after api change
2019-06-19 14:40:34 -07:00
Shivkumar Dudhani
7e49fcda36
Merge pull request #181 from nirmata/171_filter_logs
...
closes #171
2019-06-19 14:28:25 -07:00
Shivkumar Dudhani
86281d587e
Merge pull request #175 from nirmata/client_test
...
Client test
2019-06-19 14:22:12 -07:00
shivdudhani
39a17911c3
code review corrections
2019-06-19 14:05:23 -07:00
shivdudhani
dfeaf41845
support dryRun parameter in client api
2019-06-18 13:52:12 -07:00
shivdudhani
50b0da48a1
support comma seperated kinds
2019-06-18 11:47:45 -07:00
Denis Belyshev
21a8ac8416
Merge branch 'master' into 50-at-least-one-exist
2019-06-18 19:34:31 +03:00
Denis Belyshev
41a932bc10
Added real test for adding anchor
2019-06-18 15:02:41 +03:00
Denis Belyshev
faf1309a55
Added tests for addingKey inside lists
2019-06-18 13:51:36 +03:00
Denis Belyshev
e467b596e1
Fixed typo "anchoredEtries"
2019-06-18 13:07:55 +03:00
shivdudhani
6fd7cba0ea
initial prototype commit
2019-06-17 23:41:18 -07:00
shivdudhani
6565cf43d0
apply policy only if kind matches
2019-06-17 19:03:35 -07:00
shivdudhani
ba43509b43
fix format
2019-06-17 18:42:23 -07:00
shivdudhani
860d2f8df1
enable test
2019-06-17 18:35:40 -07:00
shivdudhani
e1df4a0dd9
rework the framework
2019-06-17 18:11:22 -07:00
shivdudhani
640ffd7258
re factor
2019-06-17 10:31:51 -07:00
shivdudhani
b3bf9b02d2
skip test due to random fails
2019-06-14 16:15:23 -07:00
shivdudhani
5e0b1670c4
skip with under dev tag
2019-06-14 16:06:14 -07:00
shivdudhani
45d44cef88
re-structure unit tests
2019-06-14 16:02:28 -07:00
shivdudhani
987d005b73
rearrange test
2019-06-14 15:20:05 -07:00
shivdudhani
0089eb348e
generate resources
2019-06-14 14:51:06 -07:00
Denis Belyshev
1a08ab4bda
Implemented logic "Add if not exist"
2019-06-14 17:19:32 +03:00
shivdudhani
b5782d25d9
Merge branch 'client_test' of github.com:nirmata/kyverno into 152_automate_test
2019-06-13 13:56:07 -07:00
shivdudhani
a49fb8cdab
refactor files
2019-06-13 13:41:38 -07:00
shivdudhani
6b91ce18d2
scan examples folder to build TS
2019-06-13 12:01:03 -07:00
Denis Belyshev
ed7dfb63d6
Fixed issue with nested anchors
2019-06-13 17:33:58 +03:00
Denis Belyshev
9bacfe4363
Implemented at least one exists logic
2019-06-13 17:20:00 +03:00
Denys Bielyshev
9002a27ddb
Merge pull request #165 from nirmata/Prepare-to-50-and-115
...
Prepare to 50 and 115
2019-06-13 13:08:00 +03:00
shivdudhani
711a892c12
add output support
2019-06-13 00:21:00 -07:00
shivdudhani
4692058a4a
initial commit
2019-06-12 16:18:31 -07:00
Denis Belyshev
5339f44504
Added comment for applyOverlayToArrayOfMaps
2019-06-12 13:12:36 +03:00
Denis Belyshev
f89168f77a
Wrote additional comments
2019-06-12 12:21:52 +03:00
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