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

54 commits

Author SHA1 Message Date
shuting
5e07ecc5f3
Add Policy Report (#1229)
* add report in cli

* policy report crd added

* policy report added

* configmap added

* added jobs

* added jobs

* bug fixed

* added logic for cli

* common function added

* sub command added for policy report

* subcommand added for report

* common package changed

* configmap added

* added logic for kyverno cli

* added logic for jobs

* added logic for jobs

* added logic for jobs

* added logic for cli

* buf fix

* cli changes

* count bug fix

* docs added for command

* go fmt

* refactor codebase

* remove policy controller for policyreport

* policy report removed

* bug fixes

* bug fixes

* added job trigger if needed

* job deletation logic added

* build failed fix

* fixed e2e test

* remove hard coded variables

* packages adde

* improvment added in jobs sheduler

* policy report yaml added

* cronjob added

* small fixes

* remove background sync

* documentation added for report command

* remove extra log

* small improvement

* tested policy report

* revert hardcoded changes

* changes for demo

* demo changes

* resource aggrigation added

* More changes

* More changes

* - resolve PR comments; - refactor jobs controller

* set rbac for jobs

* add clean up in job controller

* add short names

* remove application scope for policyreport

* move job controller to policyreport

* add report logic in command apply

* - update policy report types;  - upgrade k8s library; - update code gen

* temporarily comment out code to pass CI build

* generate / update policyreport to cluster

* add unit test for CLI report

* add test for apply - generate policy report

* fix unit test

* - remove job controller; - remove in-memory configmap; - clean up kustomize manifest

* remove dependency

* add reportRequest / clusterReportRequest

* clean up policy report

* generate report request

* update crd clusterReportRequest

* - update json tag of report summary; - update definition manifests; -  fix dclient creation

* aggregate reportRequest into policy report

* fix unit tests

* - update report summary to optional; - generate clusterPolicyReport; - remove reportRequests after merged to report

* remove

* generate reportRequest in kyverno namespace

* update resource filter in helm chart

* - rename reportRequest to reportChangeRequest; -rename clusterReportRequest to clusterReportChangeRequest

* generate policy report in background scan

* skip generating report change request if there's entry results

* fix results entry removal when policy / rule gets deleted

* rename apiversion from policy.kubernetes.io to policy.k8s.io

* update summary.* to lower case

* move reportChangeRequest to kyverno.io/v1alpha1

* remove policy report flag

* fix report update

* clean up policy violation CRD

* remove violation CRD from manifest

* clean up policy violation code - remove pvGenerator

* change severity fields to lower case

* update import library

* set report category

Co-authored-by: Yuvraj <yuvraj.yad001@gmail.com>
Co-authored-by: Yuvraj <10830562+evalsocket@users.noreply.github.com>
Co-authored-by: Jim Bugwadia <jim@nirmata.com>
2020-11-09 11:26:12 -08:00
Shuting Zhao
3e1c5f5830 update master to main in CI automation files 2020-11-03 13:56:57 -08:00
shuting
f15730b3a9
Publish test image (#1185)
* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order

* change condition when publish image

* add image publish as a separate github action

* remove condition

* set go env
2020-10-09 19:25:32 -07:00
shuting
4ba2aad493
Publish test image (#1184)
* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order

* change condition when publish image

* add image publish as a separate github action

* remove condition
2020-10-09 19:22:05 -07:00
shuting
e5f408742f
Publish test image (#1183)
* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order

* change condition when publish image

* add image publish as a separate github action
2020-10-09 19:16:28 -07:00
shuting
5eb38114b9
Publish test image (#1182)
* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order

* change condition when publish image
2020-10-09 19:00:52 -07:00
shuting
0c7e5aa755
Publish test image (#1179)
* add annotation in best practice policy require-pod-probes

* migrate repo

* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order
2020-10-09 18:49:29 -07:00
Yuvraj
1b7a295860
git action added (#1078) 2020-08-21 12:24:02 -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
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
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
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
Yuvraj
7a8298419e
kyverno CLI accessable through krew (#941)
* automate kyverno-cli plugin release for krew

* windows support added

* revert ci changes

* update plugin name

* documentation added

Co-authored-by: Yuvraj <yuvraj@neualto.com>
2020-07-08 09:05:55 -07:00
Yuvraj
5faf8b79ec
Added trigger for all type of tags 2020-06-18 08:13:11 -07:00
Yuvraj
fd872dc7a3 added tag for prerelease github action 2020-06-18 15:03:27 +00:00
Yuvraj
a514daf32e
helm release when new tag will be publish (#929) 2020-06-08 22:22:26 -07:00
Yuvraj
874ea34763
Hotfix/remove docker changes (#909)
* remove brew and scoop from goreleaser and added gh for testing
2020-06-04 16:09:12 -07:00
Yuvraj
7be3f41546
revert docker build changes (#907) 2020-06-04 15:38:12 -07:00
Yuvraj
03b74d0cd8
Hotfix/ci (#906)
* Hotfix: fix ci pipeline
2020-06-04 15:00:01 -07:00
Yuvraj
d51807aac2
Hotfix/ci (#905)
* docs update and fixed issue for docker push on release
2020-06-04 14:31:54 -07:00
Yuvraj
b6cf90909f
Hotfix: fix ci pipeline (#904) 2020-06-04 13:58:21 -07:00
Yuvraj
d5ea0415de
remove arm from goreleaser (#903)
* Feature : Added complete release cycle and created install bash script for kyverno-cli
2020-06-04 11:45:37 -07:00
Yuvraj
ecf66c5948
Merge pull request #881 from evalsocket/fix-875
helm release workflow added
2020-06-03 09:57:00 -07:00
Yuvraj
0943ed33ae
revert testing changes 2020-06-02 14:04:58 -07:00
Yuvraj
e589d36299
remove reindexing 2020-06-02 14:01:31 -07:00
Yuvraj
a7975b5226
testing changes 2020-06-02 13:58:12 -07:00
Yuvraj
cf9e84d0b1 revert testing change 2020-06-02 13:55:07 -07:00
Yuvraj
ae95a2a826
Testing chnages 2020-06-02 13:44:23 -07:00
Yuvraj
b66d8ae8e6 rename access token secret 2020-06-02 13:42:55 -07:00
Yuvraj
f695b17208
Added fixes for helm release 2020-05-29 08:48:25 -07:00
Yuvraj
e74373708d comment out reindex for testing 2020-05-28 13:22:15 -07:00
Yuvraj
0db01bed80 comment out reindex for testing 2020-05-28 13:13:13 -07:00
Yuvraj
6bd2ed65c6 small typo fix 2020-05-28 13:05:15 -07:00
Yuvraj
c46e07d8bd
commented out helm version check for first time 2020-05-28 13:02:48 -07:00
Yuvraj
17b4404266
Testing changes 2020-05-28 13:00:01 -07:00
Yuvraj
aaa93fc8e4
Remove build on pr 2020-05-28 12:57:03 -07:00
Yuvraj
a9238af08a
testing changes for goreleaser PR 2020-05-28 12:24:50 -07:00
Yuvraj
5391713a00 testing change revert 2020-05-28 20:07:21 +05:30
Yuvraj
55f44b8fce testing gorelese 2020-05-28 19:50:20 +05:30
Yuvraj
1cde29af8d remove krew changes 2020-05-28 14:06:41 +00:00
Yuvraj
aad6504fc5 publish helm package for gh-pages branch 2020-05-27 11:09:18 -07:00
Yuvraj
726ab935ee
Update .github/workflows/helm-release.yaml
Co-authored-by: Michael Barrientos <mbarrien@users.noreply.github.com>
2020-05-27 11:41:47 +05:30
Yuvraj
37964ebc55 helm release workflow added 2020-05-27 06:06:46 +00:00
Yuvraj
3a7aa3b892 traves ci release added 2020-04-29 11:09:39 -07:00
Yuvraj
225c8a79ad krew setup 2020-04-29 10:38:21 -07:00
Yuvraj
5dc784f3b2 goreleaser added 2020-04-29 09:58:20 -07:00
Yuvraj
7221fc8200 goreleaser added 2020-04-29 09:57:49 -07:00
Jim Bugwadia
bf196be7a2
Update scenario-to-support.md 2019-10-30 08:31:48 -07:00