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

74 commits

Author SHA1 Message Date
shuting
54d49ed412
revet GitHub action change for krew (#1484)
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
2021-01-20 14:17:39 -08:00
Shuting Zhao
f95771a3b8 add dependency to go.sum 2021-01-08 18:47:28 -08:00
Jim Bugwadia
947ebf135b ignore docs 2021-01-07 21:17:03 -08:00
Ihor Dvoretskyi
ee31fabcbc
FOSSA scanning added (#1407)
Signed-off-by: GitHub <noreply@github.com>
2020-12-17 10:48:24 -08:00
Yuvraj
5ecdfda4e0
Improve github action (#1385)
* Improve github action

Improve the github action

fix issue

Trigger Krew on relese and skip prerelease

Updated create infrastructure script

* More changes

* More changes

* Added check for prerelease

* Added check for prerelease

* Revert change
2020-12-15 11:46:53 -08:00
Chip Zoller
b0177625c7 update policy issue template 2020-11-29 10:09:27 -05:00
Shuting Zhao
5f3c0cef4a update github workflow - disable krew release on rc release 2020-11-25 15:50:56 -08:00
Shuting Zhao
9399adeb0f remove --unshallow 2020-11-24 15:24:35 -08:00
Shuting Zhao
276e863fa7 combine helm release with gh release 2020-11-24 15:00:18 -08:00
Shuting Zhao
971a7523ca migrate to chart-releaser 2020-11-24 14:52:40 -08:00
Shuting Zhao
023f5aa46a update GitHub Action release process 2020-11-24 14:44:11 -08:00
Shuting Zhao
ff8111bc47 split release steps 2020-11-24 14:26:19 -08:00
Shuting Zhao
3404799a42 change to use GITHUB_TOKEN 2020-11-24 13:38:43 -08:00
Shuting Zhao
1612daf111 update releaser.yaml 2020-11-24 12:56:35 -08:00
Shuting Zhao
ac1c56d946 update Personal Access Token 2020-11-24 12:24:14 -08:00
shuting
7ad6b3b5cd
Migrate registry (#1300)
* migrate image to GitHub registry

* remove registry login

* add back registry login
2020-11-24 12:00:33 -08:00
shuting
f73c40ab4e
Migrate image to GitHub registry (#1299)
* migrate image to GitHub registry

* remove registry login
2020-11-24 11:49:08 -08:00
Chip Zoller
7ee346b0de
column misspelling (#1290)
* column misspelling

* edit description with tip about conditional adds

* Enhance bug report template
2020-11-23 14:05:46 -08:00
shuting
bc2e7fcbb3
Revert "Migrate image to GitHub registry" 2020-11-19 13:59:26 -08:00
Shuting Zhao
361d63cc4b migrate image to github registry 2020-11-19 12:19:30 -08:00
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