1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
Commit graph

2513 commits

Author SHA1 Message Date
Jim Bugwadia
f35e6893e9
Merge pull request #1163 from nirmata/improvement/update_configmap_docs
update config map docs
2020-10-01 07:15:20 -07:00
Pooja Singh
2f9d77f6d1
Merge pull request #1151 from NoSkillGirl/bug/validate_apiversion_change
fixed yaml package for CLI validate
2020-10-01 18:34:48 +05:30
Jim Bugwadia
d9bf3f67bb update config map docs 2020-10-01 00:32:12 -07:00
Jim Bugwadia
5f8c38966a
remove mutation message when no rules are applied (#1162) 2020-09-30 11:37:40 -07:00
Jim Bugwadia
712168ab67
update getting started docs (#1155) 2020-09-29 19:35:41 -07:00
Jim Bugwadia
73044f9515
fixes #1152 (#1154) 2020-09-29 16:15:27 -07:00
NoSkillGirl
b9b28b40fb fixed yaml package 2020-09-30 00:51:07 +05:30
Jim Bugwadia
0170e1b19c
add links in chronological order (latest first) (#1148)
* add links in chronological order (latest first)

- reorder links
- add Coffee and Cloud Native video
- remove Go report card (temporary) as the site is down

* add back goreport
2020-09-28 10:09:47 -07:00
Jim Bugwadia
d5ed94f33c
Add video review (#1144)
add video link
2020-09-24 10:52:31 -07:00
Jim Bugwadia
06b3197743
Merge pull request #1143 from realshuting/handle_array_in_notin
Parse string value to array from configMap
2020-09-22 20:31:54 -07:00
Shuting Zhao
82143a262a update doc 2020-09-22 19:54:41 -07:00
Shuting Zhao
f8faa08f92 update doc 2020-09-22 18:28:21 -07:00
Shuting Zhao
b8b1d81df0 handles array parsing in configmap value 2020-09-22 18:26:52 -07:00
Mohan B E
bd406f5bb8
added conversion of overlay to patch strategic merge (#1138)
* added conversion of overlay to patch strategic merge and modified unittest for the same

* updated best practice policy
2020-09-22 16:19:09 -07:00
Mohan B E
51ac382c6c
Feature/configmaps var 724 (#1118)
* added configmap data substitution for foreground mutate and validate

* added configmap data substitution for foreground mutate and validate fmt

* added configmap lookup for background

* added comments to resource cache

* added configmap data lookup in preConditions

* added parse strings in In operator and configmap lookup docs

* added configmap lookup docs

* modified configmap lookup docs
2020-09-22 14:11:49 -07:00
Shuting Zhao
fe20f3aa4c tag 1.1.12 2020-09-18 12:57:38 -07:00
Yuvraj
e5fb55f1c6
Generate policy with backword compatibility (#1125)
* fix generate label issue

* fix generate issue for old namespace

* small fix

* added backword compatibility

* condition changed

* extra code remove
2020-09-18 12:34:43 -07:00
Mohan B E
a1081c8f82
fixed policy validationa and patch strategic merge bug (#1136) 2020-09-18 12:18:13 -07:00
shuting
0814d9e799
update operator doc (#1131) 2020-09-18 12:15:04 -07:00
Pooja Singh
46158ee695
Fixes CLI bug - mutate resource and variable substitution (#1123)
* fixed passing multiple resource for -f flag

* fixed saving mutated resource

* comment removed
2020-09-16 12:05:07 -07:00
Pooja Singh
ba5c656d76
converting patches to patchesJSON6902 (#1115)
* converting patches to patchesJSON6902

* updated readme

* removed patch section from readme
2020-09-16 10:53:05 -07:00
shuting
3fa745bc3e
Bugfix policymutation (#1119)
* fix policy mutation - autogen does not have exclude

* update doc
2020-09-15 22:58:55 -07:00
shuting
f82b4a4952
skip policy mutation on status update (#1112) 2020-09-14 10:56:06 -07:00
Mohan B E
95542908eb
fixed additional anchor bug in patch strategic merge (#1114) 2020-09-14 10:25:00 -07:00
Pooja Singh
0bd1a10a91
Merge pull request #1109 from NoSkillGirl/bug/cli_print_in_yaml
fixed duplicate name
2020-09-10 12:16:46 +05:30
NoSkillGirl
b1a2ab398b fixed duplicate name 2020-09-09 20:17:20 +05:30
Shuting Zhao
c7adf66fda tag 1.1.11 2020-09-08 11:53:49 -07:00
Mohan B E
c5e9d6db15
added autogen for patch strategic merge (#1104) 2020-09-04 16:20:20 -07:00
Pooja Singh
a18bdc0768
Merge pull request #1102 from NoSkillGirl/bug/api-V3_validation
fixed return
2020-09-04 20:17:46 +05:30
NoSkillGirl
4f8a765ce1 fixed return 2020-09-04 19:42:29 +05:30
Yuvraj
b7524467a3
Reconcile Generate request on policy update (#1096)
* policy report crd added

* added namespaced rule

* remove extra field from crd

* revert crd change

* remove policy report chnages

* remove policy report chnages

* remove policy report chnages

* remove policy report chnages

* added logic for gr

* revert changes

* fixed generate rules

* fixed generate rules

* fixed generate rules

* fixed generate rules

* remove extra logs

* remove extra logs

* fixed e2e test

* remove extra logs

* crd issue resolved

* added check for sync

* add labels update

* add label update

* added permission to role

* roles added to helm

* roles added to helm
2020-09-03 14:34:23 -07:00
Pooja Singh
154b1c1eb9
Merge pull request #1095 from NoSkillGirl/feature/support_openapi_v3
added validation for openapi_v3
2020-09-03 23:02:17 +05:30
Mohan B E
118b40c644
added invalid field validation for policy (#1094) 2020-09-03 22:14:54 +05:30
shuting
931d7cd47c
Set mutating webhhok reinvocationPolicy to IfNeeded (#1097)
* add watch policy to clusterrole kyverno:customresources

* fix build

* fix nil pointer

* skip json patches if the mutation is re-invoked

* set resource mutating webhook invocation policy to IfNeeded
2020-09-03 08:54:37 -07:00
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
shuting
9a210e24d9
bug fix - nil pointer (#1093)
* add watch policy to clusterrole kyverno:customresources

* fix build

* fix nil pointer
2020-09-01 17:23:54 -07:00
shuting
b319a816c5
Fix build (#1092)
* add watch policy to clusterrole kyverno:customresources

* fix build
2020-09-01 09:38:49 -07:00
Mohan B E
3690bf5fff
conditional anchor preprocessing for patch strategic merge (#1090)
* conditional anchor preprocessing for patch strategic merge

* modified sequence pre processing and added unit test

* merged master

* go fmt

* corrected mistake and added error handling to policy validate
2020-09-01 09:12:05 -07:00
shuting
e0f617b383
810 support cronJob for auto-gen (#1089)
* add watch policy to clusterrole kyverno:customresources

* - improve auto-gen policy application logic - remove unused code

* move method to common util

* auto-gen rule for cronJob

* update doc

* set CronJob as default auto-gen pod controller

* - update doc; - fix test

* remove unused code
2020-09-01 09:11:20 -07:00
Pooja Singh
2bfb5fffb3
Merge pull request #1080 from NoSkillGirl/feature/crd_validation
Supporting CRD validation in CLI
2020-09-01 08:51:02 +05:30
NoSkillGirl
afc340ea5f removed todo 2020-09-01 08:41:59 +05:30
Yuvraj
2641120907
Generate policy does not work on namespace update (#1085)
* added logic for handling generate request

* generate rules added

* added label condition for generate

* remove extra logs

* remove extra logs

* buf fixed

* bug fixed

* added logic for delete gr

* log fixed

* documentation changed

* remove best practices changes

* bug fix

* added best pratice
2020-08-31 11:25:13 -07:00
NoSkillGirl
d9c3a166cc updated readme 2020-08-31 19:32:00 +05:30
NoSkillGirl
ccfd4adad3 calling GetCRD's from validate 2020-08-31 18:44:08 +05:30
NoSkillGirl
e5f5ef9db1 split multi yaml in crd 2020-08-31 18:20:25 +05:30
NoSkillGirl
6b6897f6e2 working version of CRD validation for CLI 2020-08-31 18:19:09 +05:30
NoSkillGirl
b61412ca7a minor validation changes 2020-08-31 18:18:10 +05:30
NoSkillGirl
afb6ad714c small issue while resolving conflicts 2020-08-31 18:16:53 +05:30
NoSkillGirl
70b13d06dc validation of policy against crd 2020-08-31 18:15:39 +05:30