NoSkillGirl
80aa6eb9f5
added policyreport to cli
2020-11-04 14:03:38 +05:30
Shuting Zhao
f798e9cf2d
add report logic in command apply
2020-10-15 17:29:07 -07:00
Shuting Zhao
8eb7f13355
add clean up in job controller
2020-10-14 19:00:13 -07:00
Pooja Singh
7ed8c18110
small fix ( #1195 )
2020-10-14 14:58:16 -07:00
Shuting Zhao
cdc5190c56
update nirmata/kyverno to kyverno/kyverno
2020-10-07 11:12:31 -07:00
Pooja Singh
ccdcb6ae89
Feature/read from stdin validate ( #1171 )
...
* temp
* added pipe logic for validate
* fixed test cases - policy mutation
2020-10-06 17:50:53 -07:00
Pooja Singh
168c92333c
Feature/read from stdin ( #1165 )
...
* temp
* added pipe logic for apply
* removed comments
* updated readme
2020-10-01 18:22:58 -07:00
Jim Bugwadia
5f8c38966a
remove mutation message when no rules are applied ( #1162 )
2020-09-30 11:37:40 -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
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
NoSkillGirl
067d51cb28
resolving issues after rebase
2020-08-22 01:21:29 +05:30
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
afe98bb93c
Added set flag
2020-08-22 01:07:03 +05:30
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
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
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
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
Pooja Singh
bfaeefafd3
print mutated policy as yaml ( #995 )
2020-07-15 08:16:49 -07:00
Pooja Singh
352d9710a0
Feature/auto gen policy rule ( #991 )
...
* small fix
* printing mutated policies
2020-07-14 20:49:10 -07:00
NoSkillGirl
c26a414182
auto generating policy rules
2020-07-11 17:57:31 +05:30
NoSkillGirl
b23cfa9f93
added auto-gen policy rule for cli
2020-07-11 17:57:07 +05:30
NoSkillGirl
f0fab9499e
temp
2020-07-11 17:56:14 +05:30
NoSkillGirl
643fe77394
added variable validation for validate
2020-07-07 17:11:37 +05:30
Jim Bugwadia
c962971372
Update mutate overlay to handle keys with slashes for labels (like annotations). Added debug V4 logs for mutate flows. ( #972 )
2020-07-04 19:32:11 -07:00
Jim Bugwadia
65193feccb
update logging, naming, and event retry ( #959 )
...
* update logging and naming
* check per policy patch count
2020-06-30 11:53:27 -07:00
NoSkillGirl
6cfd4d345b
Updated error messages as per the convention (lowercase)
2020-06-21 11:52:50 +05:30
NoSkillGirl
7e2dbd87fe
Modified error messages
2020-06-21 11:48:57 +05:30
NoSkillGirl
c482459e0e
updated sanitized error
2020-06-18 13:57:32 +05:30
Jim Bugwadia
912bc3ccc4
- fix panic in log and improve CLI error reporting
2020-06-12 18:23:59 -07:00
NoSkillGirl
054a119063
simplified exit code
2020-06-09 12:55:42 +05:30
NoSkillGirl
e267757d30
Added more exit codes and update Readme
2020-06-08 17:01:56 +05:30
Jim Bugwadia
07e93e0638
Merge pull request #890 from NoSkillGirl/enhancement/multipart-yaml
...
Handling Multi YAML (Policies and Resources)
2020-06-01 10:24:29 -07:00
NoSkillGirl
83a3ae14c6
small fix
2020-06-01 17:15:23 +05:30
NoSkillGirl
0447fc300e
Handling Multi Yaml (Policies and Resources)
2020-05-29 15:32:29 +05:30
Jim Bugwadia
5cdcbec3c9
Bugfix/1.1.6 adjust resync and cleanup unused ( #884 )
...
* - support wildcards for namespaces
* do not annotate resource, unless policy is an autogen policy
* close HTTP body
* improve messages
* remove policy store
Policy store was not fully implemented and simply provided a way
to list all polices and get a policy by name, which can be done via
standard client-go interfaces.
We need to revisit and design a better PolicyStore that provides fast
lookups for matching policies based on names, namespaces, etc.
* handle wildcard namespaces in background processing
* fix unit tests 1) remove platform dependent path usage 2) remove policy store
* add test case for mutate with wildcard namespaces
* adjust all resync periods
* remove unused data fields
* add pattern for match
2020-05-27 19:51:34 -07:00
shravan
b2ae45c856
777 tested prototype
2020-04-03 10:30:52 +05:30
shravan
7ce0c8d68a
787 circle ci changes
2020-04-02 21:19:51 +05:30
shravan
410e53bd9f
787 tested prototype
2020-04-02 21:13:39 +05:30
shravan
20b161a270
765 resolved merge conflicts
2020-03-29 09:09:26 +05:30
shravan
91223deae2
754 resolved merge conflicts
2020-03-28 16:43:19 +05:30
shravan
b5af456f64
Revert "754 merge conflicts"
...
This reverts commit 39f75db435
.
2020-03-28 16:36:19 +05:30
shravan
39f75db435
754 merge conflicts
2020-03-28 16:30:18 +05:30
shravan
6efe0252a3
765 save commit
2020-03-27 19:06:06 +05:30
shravan
4cf29adccd
754 works as intended - more changes required related to locks .etc
2020-03-24 23:12:45 +05:30
shivkumar dudhani
4320111c5c
fix logs api
2020-03-20 11:43:21 -07:00
shivkumar dudhani
e6e5bbb603
Merge branch 'master' into access_check
2020-03-17 17:23:18 -07:00