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

2431 commits

Author SHA1 Message Date
Jim Bugwadia
1235e922df add newline 2020-08-18 21:40:47 -07:00
Jim Bugwadia
293281596b fix disallow root user policy 2020-08-18 21:03:38 -07:00
Jim Bugwadia
fc6da9c9e6 improve CLI validation reports 2020-08-18 21:03:00 -07:00
Pooja Singh
5a68653749
Supporting annotations in match/exclude (#1045)
* Supporting annotations in match/exclude filters

* updated readme

* small fix
2020-08-17 17:12:27 -07:00
shuting
db342d0ece
Improvements in webhook (#1057)
* remove empty flag

* format code

* revert change in install.yaml

* -  skip mutation for a deleting resource - add debug log

* format code

* revert change in install.yaml

* -  skip mutation for a deleting resource - add debug log
2020-08-17 11:17:07 -07:00
shuting
fd2661dfce
update mutation jsonPatch doc (#1049) 2020-08-14 14:48:08 -07:00
shuting
d6062fdd47
Add go fmt (#1055)
* remove empty flag

* format code

* revert change in install.yaml
2020-08-14 12:21:06 -07:00
Yuvraj
4ee523dccf
default exclude group role (#1052) 2020-08-13 14:30:25 -07:00
Yuvraj
6c174b19d1
Update the doc on how excluded userInfo flags (#1035)
* flags description added in documentation

* added exclude group role

* small docs changes
2020-08-13 11:59:17 -07:00
Michael Barrientos
d2ac5b829b
Replace CRD AnyValue fields with empty dict (#1047) 2020-08-13 11:57:35 -07:00
shuting
0794084b4d
1040 automate release (#1044)
* add release in make

* update release in Makefile

* update README.md
2020-08-12 07:54:45 -07:00
Yuvraj
632d1fc226
kyverno-cli and helm release step added in workslow (#1043)
* e2e test added in release

* added steps

* dirty added in hash

* new make command added

* dirty remove from make

* a new step added
2020-08-11 10:04:25 -07:00
Yuvraj
c236a3a48a
Added e2e test in release (#1042)
* e2e test added in release

* added steps

* dirty added in hash

* new make command added

* dirty remove from make
2020-08-11 09:32:51 -07:00
Shuting Zhao
41667038e0 tag 1.1.9 2020-08-10 17:20:48 -07:00
Yuvraj
19c8f6a9ba
install.yaml added in release (#1038)
* install.yaml added in gorelease

* release added

* revert changes

* tested release

* tested release
2020-08-10 17:16:13 -07:00
Jim Bugwadia
184afa23db
Update README.md (#1037)
* Update README.md

add version due to parm incompatibility

* set ENV version in README.md

* revert change

Co-authored-by: Shuting Zhao <shutting06@gmail.com>
2020-08-10 13:57:12 -07:00
Yuvraj
4cb0e564d4
delete generate request if policy is deleted (#1036) 2020-08-10 10:12:11 -07:00
Yuvraj
73840e3c5f
configrable rules added (#1017)
* configrable rules added

* fix exclude group logic from code

* flag added in yaml

* exclude username added

* exclude username added

* config interface implimented

* configure exclude username

* get role ref

* test case fixed

* panic fix

* move from interface to slice

* exclude added in mutate

* trim strings

* configmap changes added

* kustomize changes for configmap

* k8s resources added
2020-08-07 17:09:24 -07:00
Mohan B E
a14828246d
Feature/api version 852 (#1028)
* apiVersion support for generate

* added apiVersion to crds
2020-08-07 09:47:33 +05:30
Yuvraj
9c0d54f35a
e2e workflow added (#1021)
* e2e flow added

* add kustomize image change in ci
2020-08-06 11:56:31 +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
shuting
39de46fe39
983 kustomize support (#1026)
* prototype - strategic merge patch

* add end to end test

* add engine strategic merge patch support

* set webhook reinvocationPolicy to IfNeeded

* refactor engine mutate code

* support JMESPath in strategic merge patch

* implement patchesJson6902

* update doc

* resolve pr comments
2020-08-05 09:11:23 -07:00
Yuvraj
bad0dab175
ci migrated (#1015)
* ci migrated

* remove travis ci

* typo fix

* delete size labeler

* fix test issues

* test ci added

* rename build workflow
2020-08-05 09:02:45 -07:00
Pooja Singh
7195b20e90
Feature/print mutated policy (#1014)
* added printing mutation policy

* added mutated method in common

* improved yaml print

* updated readme

* small fix

* small fix
2020-07-29 09:11:58 -07:00
Jim Bugwadia
a7c3594f10
Merge pull request #1009 from b-entangled/663_api_docs
added api docs generator and docs html file
2020-07-23 12:03:20 -07:00
Mohan BE
9b033fd755 added +optional for optional fields 2020-07-23 18:09:34 +05:30
Mohan BE
d41eb93e66 simplified comments 2020-07-22 12:44:06 +05:30
Mohan BE
df33504c0f added prefixes to comments 2020-07-22 12:33:12 +05:30
Mohan BE
7951690d25 generate docs 2020-07-22 09:41:02 +05:30
Mohan BE
f3dc56a7f8 added commentsto types.go 2020-07-22 09:34:56 +05:30
Mohan BE
fcfe89ac8b modified types.go comments 2020-07-22 09:26:39 +05:30
Shuting Zhao
71ff4b911d tag 1.1.8 2020-07-21 11:06:42 -07:00
Mohan BE
3e1cef790a added field type specification to types 2020-07-21 11:33:51 +05:30
Pooja Singh
f55d801037
removed mutated policy (#1010) 2020-07-20 22:03:38 -07:00
Pooja Singh
47aaf50717
Feature/CLI saving mutate results (#1007)
* saving mutated policy and resources in yaml

* removed saving mutated policy

* fixed file creation

* updated readme

* changed flags
2020-07-20 12:11:30 -07:00
Mohan BE
2525ce3423 added one line comment to types and added API docs link to README.md 2020-07-20 22:29:20 +05:30
shuting
75a7543c6d
Events fix (#1006)
* remove success event

* remove event success message

* remove events generated on clusterpolicy
2020-07-20 20:30:02 +05:30
Mohan BE
9451f79ee5 added api docs generator 2020-07-20 20:05:06 +05:30
Jim Bugwadia
e7fa601148
Merge pull request #1005 from realshuting/933_doc_update
Update selecting resource doc
2020-07-18 14:36:37 -07:00
Shuting Zhao
490d0ce154 update doc 2020-07-18 14:25:35 -07:00
Shuting Zhao
9bcdbd16b8 update example indent 2020-07-17 17:24:52 -07:00
Shuting Zhao
5839447112 update rule name 2020-07-17 10:11:40 -07:00
Shuting Zhao
aa00b8354f update selecting resource doc 2020-07-17 10:09:34 -07:00
Jim Bugwadia
00d22e89e0
Merge pull request #1001 from evalsocket/patch-4
policy name added in labels
2020-07-17 00:47:51 -07:00
Jim Bugwadia
5e283600fc
Merge pull request #1004 from evalsocket/patch-1002
fixed deployment name in config
2020-07-16 15:40:00 -07:00
Yuvraj
de570d577d fixed deployment name 2020-07-16 22:13:50 +00:00
evalsocket
3dc72b3b8e add group policy 2020-07-16 05:20:37 -07:00
evalsocket
629267c40a policy group change 2020-07-15 17:19:20 -07:00
Yuvraj
af5bc53081
krew yaml fixes (#1000) 2020-07-15 14:37:04 -07:00
evalsocket
37e3c08476 policy name added in labels 2020-07-15 14:30:00 -07:00