1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
Commit graph

1321 commits

Author SHA1 Message Date
Yuvraj
eb518a25f3 buf fix 2020-09-01 01:05:29 +05:30
Yuvraj
0bc1b3b3e8 added logic for cli 2020-08-31 23:18:25 +05:30
Yuvraj
22437289f5 added logic for jobs 2020-08-31 00:26:30 +05:30
Yuvraj
ea3e4241ed added logic for jobs 2020-08-31 00:06:21 +05:30
Yuvraj
d0d555688f added logic for jobs 2020-08-30 23:57:30 +05:30
Yuvraj
59dce68379 added logic for kyverno cli 2020-08-30 04:13:22 +05:30
Yuvraj
a01bfc7f15 configmap added 2020-08-29 04:31:40 +05:30
Yuvraj
3ebf9d43fc common package changed 2020-08-28 23:19:22 +05:30
Yuvraj
d3bba37e08 subcommand added for report 2020-08-28 20:18:14 +05:30
Yuvraj
2dbacdea9a sub command added for policy report 2020-08-28 17:26:41 +05:30
Yuvraj
fb6c4c3699 common function added 2020-08-28 16:41:16 +05:30
Yuvraj
9fb2b8dbb1 added logic for cli 2020-08-28 16:14:46 +05:30
Yuvraj
b59a4edfcd bug fixed 2020-08-27 20:25:23 +05:30
Yuvraj
b9123cd3f4 added jobs 2020-08-27 13:19:41 +05:30
Yuvraj
e9d2ba4e04 added jobs 2020-08-27 03:08:03 +05:30
Yuvraj
2a9477ba06 configmap added 2020-08-27 01:18:18 +05:30
Yuvraj
251521a77a policy report added 2020-08-26 18:50:38 +05:30
Yuvraj
875f9716e8 policy report crd added 2020-08-26 00:03:39 +05:30
Yuvraj
91c45b408b add report in cli 2020-08-25 22:44:29 +05:30
Pooja Singh
8105e4cad8
Allowing only few variables in the policies (#1063)
* Checking for non whitelisted variables in the policy

* method name change

* small issue while rebasing
2020-08-23 15:11:03 -07:00
Pooja Singh
1b69ca26db
Merge pull request #1030 from NoSkillGirl/feature/add_cli_variables
Feature/add cli variables
2020-08-22 01:48:40 +05:30
NoSkillGirl
067d51cb28 resolving issues after rebase 2020-08-22 01:21:29 +05:30
Mohan B E
3feb41e5f3
wildcard for numeric values (#1074)
* wildcard for numeric values

* changed error message
2020-08-21 12:48:05 -07:00
NoSkillGirl
3a3311835c added error handling 2020-08-22 01:07:04 +05:30
NoSkillGirl
df154537f1 Added provision to pass cli values from a file 2020-08-22 01:07:04 +05:30
NoSkillGirl
0927e7a732 added validation for set flag 2020-08-22 01:07:03 +05:30
NoSkillGirl
11e73381cf removed comments 2020-08-22 01:07:03 +05:30
NoSkillGirl
afe98bb93c Added set flag 2020-08-22 01:07:03 +05:30
Pooja Singh
2717a03ab2
Not checking for cluster resources for CLI in policy validate (#1076) 2020-08-21 23:07:54 +05:30
Shuting Zhao
0aeb9f667a return early in LCI if generated patches from policy mutation is nil 2020-08-19 15:11:21 -07:00
Mohan B E
f60deecdce
Feature/namespaced policy 280 (#1058)
* namespaced policy crd and cache

* modified main.go

* removed kyverno

* implemented policy violation generator for namespaced policy on audit

* modified cache

* added validation for cluster resource types

* install.yaml

* install.yaml

* removed namespaces from crd and refactored code

* modified NamespacePolicy to Policy

* added ClusterRole aggregate for policies

* modified clusterrole
2020-08-19 09:07:23 -07:00
Yuvraj
3799b52fc8
[BUG] filterK8Resources is not correctly configured using ConfigMap (#1059)
* configmap issue fixed

* fixed e2e test

* helm template file added

* remove extra check

* string empty check removed
2020-08-19 13:46:08 +05:30
Jim Bugwadia
e6a3aea88a fix print 2020-08-18 21:56:43 -07:00
Jim Bugwadia
1235e922df add newline 2020-08-18 21:40:47 -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
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
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
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