1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-15 17:51:20 +00:00
Commit graph

49 commits

Author SHA1 Message Date
NoSkillGirl
4f8a765ce1 fixed return 2020-09-04 19:42:29 +05:30
NoSkillGirl
70108232ec added return 2020-09-03 09:47:43 +05:30
NoSkillGirl
fcdbc054c9 added validation for openapi_v3 2020-09-02 17:14:29 +05:30
NoSkillGirl
6b6897f6e2 working version of CRD validation for CLI 2020-08-31 18:19:09 +05:30
Mohan B E
6e827f912f
Feature/e2e 575 (#1018)
* added api templates

* E2E test for generate roles, rolebindings, clusterrole and clusterrolebindings

* table driven e2e tests

* table driven e2e tests and go fmt

* removed unwanted vars

* increased sleep time

* removed role generation clone

* increated sleep time

* added rolebinding clone and retry mechanism for get resources

* modified test for clone

* added namespace to role

* added namespace variable

* added git actions job

* changed build name

* removed docker login

* added role verbs

* removed github actions job and rbac file

* added clusterrole test with clone

* fixed travis issue
2020-08-06 10:46:10 +05:30
Jim Bugwadia
c962971372
Update mutate overlay to handle keys with slashes for labels (like annotations). Added debug V4 logs for mutate flows. (#972) 2020-07-04 19:32:11 -07:00
Shuting Zhao
52d45ec3c5 fix resource schema not found error 2020-06-01 19:36:01 -07:00
Jim Bugwadia
5cdcbec3c9
Bugfix/1.1.6 adjust resync and cleanup unused (#884)
* - support wildcards for namespaces

* do not annotate resource, unless policy is an autogen policy

* close HTTP body

* improve messages

* remove policy store

Policy store was not fully implemented and simply provided a way
to list all polices and get a policy by name, which can be done via
standard client-go interfaces.

We need to revisit and design a better PolicyStore that provides fast
lookups for matching policies based on names, namespaces, etc.

* handle wildcard namespaces in background processing

* fix unit tests 1) remove platform dependent path usage 2) remove policy store

* add test case for mutate with wildcard namespaces

* adjust all resync periods

* remove unused data fields

* add pattern for match
2020-05-27 19:51:34 -07:00
Shuting Zhao
140d638a9b fix #838 - skip if crd has no schema defined 2020-05-18 21:02:21 -07:00
Shuting Zhao
f97c202d52 extract controller resync period to a constant file 2020-05-18 11:56:17 -07:00
Shuting Zhao
57e9aaea5f Add crd 1.16+ spec 2020-05-18 11:55:59 -07:00
shravan
c804750f44 800 crd sync panic 2020-04-03 18:29:21 +05:30
shravan
c0dbd1d6e6 783 tested prototype 2020-04-02 12:19:32 +05:30
shravan
e3fcc2c4e5 783 fixing panic 2020-04-02 09:09:49 +05:30
Shuting Zhao
05d5d91afd fix assign to nil map 2020-04-01 12:41:37 -07:00
shravan
bbeefb955b 778 tested prototype 2020-04-01 19:06:13 +05:30
shravan
20b161a270 765 resolved merge conflicts 2020-03-29 09:09:26 +05:30
shravan
91223deae2 754 resolved merge conflicts 2020-03-28 16:43:19 +05:30
shravan
b5af456f64 Revert "754 merge conflicts"
This reverts commit 39f75db435.
2020-03-28 16:36:19 +05:30
shravan
39f75db435 754 merge conflicts 2020-03-28 16:30:18 +05:30
shravan
6efe0252a3 765 save commit 2020-03-27 19:06:06 +05:30
shuting
589f8ece47
Merge pull request #750 from nirmata/access_check
Access check & logging framework refactor & update code-gen version
2020-03-26 14:51:27 -07:00
Yuvraj
a0e8a6a0d5 revert data loaction
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-03-26 19:10:54 +05:30
shravan
63e7533a49 754 ensuring CRD syncs before kyverno starts 2020-03-25 02:20:04 +05:30
shravan
a369675e08 754 removing redundant code 2020-03-25 02:15:56 +05:30
shravan
2e8cb1e482 754 removed uneeded tests 2020-03-25 02:04:43 +05:30
shravan
2443a9997d 754 crds can be immidiatly validate on startup - changed locks so as to not timeout requests 2020-03-25 02:00:30 +05:30
shravan
66c97ef3ba 754 fixing tests 2020-03-24 23:18:46 +05:30
shravan
4cf29adccd 754 works as intended - more changes required related to locks .etc 2020-03-24 23:12:45 +05:30
shravan
2273033c6c 754 fixed apiVersion and metadata issue 2020-03-24 19:08:46 +05:30
Yuvraj
b3ab74d8b6 Update pkg path
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-03-24 12:06:35 +05:30
shivkumar dudhani
4320111c5c fix logs api 2020-03-20 11:43:21 -07:00
shravan
7c5a2aa438 754 save commit 2020-03-19 20:45:30 +05:30
shravan
1fa88e0dd0 536 workin cli 2020-03-06 03:00:18 +05:30
shravan
4831aa86ae 522 dealing with substitute variables 2020-03-06 01:52:03 +05:30
shravan
4db0cf7a87 522 adding force mutate function 2020-03-06 01:09:38 +05:30
shravan
7aa1e1515b 522 supporting crd validation 2020-03-05 22:50:32 +05:30
shravan
b27a62b6bf 522 added service account name in context 2020-03-04 19:38:33 +05:30
shravan
044d55600a 522 fixed tests and added validation of mutated resources 2020-03-04 19:27:08 +05:30
shravan
888d2ae171 522 save commit 2020-03-04 19:16:26 +05:30
shravan
a0f9ad1361 522 save commit 2020-03-04 18:56:59 +05:30
shivkumar dudhani
9b38289a84 remove openapi validation(manual revert) 2020-02-20 15:09:20 -08:00
shravan
74260f39dc 634 resolved merge conflicts 2020-02-19 21:39:01 +05:30
shravan
bc84413f35 644 resolving merge conflicts 2020-02-19 10:44:14 +05:30
shuting
688505221e
Merge pull request #703 from shravanshetty1/536_extend_cli_v2
#536 - Extending cli functionality
2020-02-18 09:57:53 -08:00
shravan
236387b7a2 634 fixing tests 2020-02-18 00:57:28 +05:30
shravan
dad2518910 702 prototype commit 2020-02-15 23:24:04 +05:30
shravan
94f8721a6e 536 apply on cluster now supports significantly more resource types 2020-01-25 22:38:54 +05:30
shravan
78cae242c5 522 restructured files 2020-01-25 14:53:12 +05:30