1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
Commit graph

1338 commits

Author SHA1 Message Date
Shuting Zhao
d0391ecab3 make the err "resource field is not present" a constant 2019-11-05 16:36:15 -08:00
Shuting Zhao
9f7b6eaaf6 skip applying mutate rule if condition key is not present in the resource, consider the rule as success 2019-11-05 16:27:06 -08:00
Jim Bugwadia
cab87f24ba add tect case 2019-11-05 15:32:45 -08:00
Shuting Zhao
664a85363a correct scenario test 2019-11-05 12:59:22 -08:00
Jim Bugwadia
5ded29f74e temp update for debugging 2019-11-05 12:28:44 -08:00
shuting
bdb677abf6
Merge pull request #430 from nirmata/158_array_validation
158 array validation
2019-11-05 11:39:05 -08:00
Shuting Zhao
662f649926 add comment to the code 2019-11-05 11:04:43 -08:00
Shuting Zhao
4195f45a42 add missing scenario test 2019-11-05 10:19:42 -08:00
Shuting Zhao
489e55d6c3 add best_practices scenario_mutate_safe-to-evict 2019-11-05 10:16:07 -08:00
Shuting Zhao
764d0fede2 Merge commit '35bed4bc6aef6622b89f0fc4dee9a175aa9768ff' into 158_array_validation 2019-11-05 09:50:32 -08:00
Shuting Zhao
3fbb9f8a35 Merge commit 'cfbd2120938b8a7f81f4a9c325fa3f6e816d2bf1' into 158_array_validation 2019-11-05 09:43:28 -08:00
Shuting Zhao
e5c8cba47b fix test 2019-11-05 09:36:55 -08:00
Shuting Zhao
8cdb532362 Merge commit 'cfbd2120938b8a7f81f4a9c325fa3f6e816d2bf1' into 432_Improve_validation_messages 2019-11-05 09:36:03 -08:00
Shuting Zhao
a20717eb97 update format 2019-11-04 20:24:19 -08:00
Shuting Zhao
5d7f92a628 update tests/scenario 2019-11-04 20:15:44 -08:00
Shuting Zhao
2d17c1f5ff - aggregate resource info per rule; - remove resource info in each success message; 2019-11-04 20:15:14 -08:00
Shuting Zhao
d9335a5f8c add warning message; remove existence anchor check in mutation 2019-11-04 19:23:48 -08:00
Shuting Zhao
42282001be make expected message optional in scenario file 2019-11-04 18:11:20 -08:00
Shuting Zhao
8f0a4ae237 update validation_test.go 2019-11-04 18:10:52 -08:00
Shivkumar Dudhani
cfbd212093
Merge pull request #427 from nirmata/375_handle_json_numbers_resubmit
375 handle json numbers resubmit
2019-11-04 18:05:24 -08:00
Jim Bugwadia
35bed4bc6a add safe-to-evict annotation 2019-11-04 17:55:13 -08:00
Shuting Zhao
18f6b4e913 remove duplicate test 2019-11-04 17:54:26 -08:00
Shuting Zhao
4e0177c2a6 improve validation error message; update scenario files 2019-11-04 17:54:06 -08:00
Jim Bugwadia
24fdf69908
Merge pull request #440 from nirmata/433_clarify_use_of_anchors
433 clarify use of anchors
2019-11-04 16:15:27 -08:00
Jim Bugwadia
8543654423
Merge pull request #439 from nirmata/412_no_helm_tiller
add disallow Helm tiller
2019-11-04 11:27:55 -08:00
Jim Bugwadia
0a735f9f84 fix sp.
add note on existence anchor
2019-11-04 08:56:03 -08:00
Jim Bugwadia
6167ec3709 update anchor documentation 2019-11-04 08:48:46 -08:00
Jim Bugwadia
41afefbe8e add disallow Helm tiller 2019-11-03 18:19:06 -08:00
Shuting Zhao
aa8a93b269 fix edit failure blocked by annotation change
- as we change the patches key in annotation to "policies.kyverno.io/patches" in commit bdb3f40f15
2019-11-01 19:55:06 -07:00
Shivkumar Dudhani
49024326ff
Merge pull request #438 from nirmata/437_fix_scenario
add period to message in scenario
2019-11-01 15:59:49 -07:00
shivkumar dudhani
8eacc00ae5 add period to message in scenario 2019-11-01 15:46:22 -07:00
Jim Bugwadia
3b1143c934
Merge pull request #436 from nirmata/411_no_docker_sock_mount
411 no docker sock mount
2019-11-01 15:38:40 -07:00
shuting
8f59f6780f
Merge pull request #435 from nirmata/431_bug
update message string
2019-11-01 15:32:20 -07:00
Jim Bugwadia
7afa40787a Merge branch '411_no_docker_sock_mount' of https://github.com/nirmata/kyverno into 411_no_docker_sock_mount
# Conflicts:
#	pkg/testrunner/testrunner_test.go
#	samples/DisallowDockerSockMount.md
2019-11-01 15:28:34 -07:00
shivkumar dudhani
ac924976c2 Merge branch '431_bug' of github.com:nirmata/kyverno into 431_bug 2019-11-01 15:24:41 -07:00
shivkumar dudhani
417c59508d update message string 2019-11-01 15:24:31 -07:00
Jim Bugwadia
53aceab929 update README.md and markdown 2019-11-01 15:23:42 -07:00
shivkumar dudhani
a191bd67f4 update message string 2019-11-01 15:21:23 -07:00
Jim Bugwadia
1323a9a81e add policy and test case 2019-11-01 15:19:26 -07:00
Jim Bugwadia
3f865516bb
Merge pull request #434 from nirmata/410_no_new_capabilities
410 no new capabilities
2019-11-01 15:16:17 -07:00
Jim Bugwadia
47fee49f36 Merge branch '410_no_new_capabilities' of https://github.com/nirmata/kyverno into 410_no_new_capabilities 2019-11-01 15:11:00 -07:00
Jim Bugwadia
764c353fdd update markdown 2019-11-01 15:10:42 -07:00
shivkumar dudhani
9d2d01404c update message string 2019-11-01 15:00:05 -07:00
Jim Bugwadia
8ddd9f036f
Merge branch 'master' into 410_no_new_capabilities 2019-11-01 14:53:56 -07:00
Jim Bugwadia
4fbc57bfed update policy and test case 2019-11-01 14:37:17 -07:00
Jim Bugwadia
9930ba249d add policy and test case 2019-11-01 13:31:08 -07:00
Jim Bugwadia
97425392fe update pod name 2019-11-01 11:56:17 -07:00
Jim Bugwadia
aa6b65480a updated policy 2019-11-01 11:47:29 -07:00
Jim Bugwadia
440c23f231 add test case (currently fails) 2019-11-01 11:40:23 -07:00
Shuting Zhao
86c00a8f30 return failure path for mutate condition check 2019-11-01 11:14:58 -07:00