Pooja Singh
|
1e4c950104
|
Feature/1515 - handle configmap and api variable cli (#1789)
* added store package
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added changes to handle api and configmap variables in cli
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* removed comments
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* refactoring code
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added test case for mutation
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* added test case for validation
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* code improvement
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
|
2021-04-29 10:09:44 -07:00 |
|
shuting
|
f515bc5dbf
|
skip rule application if referred path not exist (#1806)
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-04-15 17:33:34 -07:00 |
|
Max Goncharenko
|
8050c4e77b
|
moved variable substitution to higher level to avoid unhandled cases (#1785)
Signed-off-by: Max Goncharenko <kacejot@fex.net>
|
2021-04-13 11:44:43 -07:00 |
|
shuting
|
c08843ef77
|
Add Images info to variables context (#1725)
* - remove supportMutateValidate; - refactor new context in the webhook
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* add ImageInfo to variables context
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* revert unexpected changes
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-03-23 10:34:03 -07:00 |
|
Yashvardhan Kukreja
|
10c714d5ba
|
feat: [preconditions, conditions] added backwards-compatible support for logical operators (#1604)
Signed-off-by: Yashvardhan Kukreja <yash.kukreja.98@gmail.com>
|
2021-03-01 20:31:06 -08:00 |
|
Jim Bugwadia
|
e2f10c6f83
|
update validation logic
|
2020-12-23 15:10:07 -08:00 |
|
Jim Bugwadia
|
6afd2e6f3a
|
ignore non-policy files in CLI and improve validation messages (#1362)
* improve validation message
* improve error behaviors
* fix tests
* fix tests
|
2020-12-07 11:26:04 -08:00 |
|
Jim Bugwadia
|
74b656768e
|
1251 fix generate panic (#1252)
* improve error message
* fix panic and add error logs
* update log levels and messages
* fix tests
|
2020-11-12 16:44:57 -08:00 |
|
Shuting Zhao
|
cdc5190c56
|
update nirmata/kyverno to kyverno/kyverno
|
2020-10-07 11:12:31 -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 |
|
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 |
|
shravan
|
7682935701
|
744 fixing broken tests
|
2020-05-06 22:52:29 +05:30 |
|
shravan
|
1b2868620e
|
744 fixing tests and making sure policy with variables that are not request.object are not allowed in background mode
|
2020-05-06 00:29:40 +05:30 |
|
Yuvraj
|
801c7513cb
|
golanfci-lint changes
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
|
2020-03-24 00:35:05 +05:30 |
|
shivkumar dudhani
|
03ee46e1d9
|
support nested variable resolution
|
2020-02-26 16:41:48 -08:00 |
|
shivkumar dudhani
|
5cee543755
|
refactor variable substitution
|
2020-02-14 11:59:28 -08:00 |
|
Shivkumar Dudhani
|
8c1d79ab28
|
linter suggestions (#655)
* cleanup phase 1
* linter fixes phase 2
|
2020-01-24 12:05:53 -08:00 |
|
Shuting Zhao
|
4c83ab8b52
|
add more unit tests
|
2020-01-10 17:15:44 -08:00 |
|
Shuting Zhao
|
f78ca61859
|
generate violation in mutation when substitute path not present
|
2020-01-09 12:24:37 -08:00 |
|
Shuting Zhao
|
472fa29fce
|
move mutation to subpackage pkg/engine/mutate
|
2020-01-07 17:06:17 -08:00 |
|
Shivkumar Dudhani
|
5b8ab3842b
|
Support variable substitution (#549)
* initial commit
* variable substitution
* update tests
* update test
* refactor engine packages for validate & generate
* update vendor
* update toml
* support variable substitution in overlay mutation
* missing update
* fix indentation in logs
* store context values as single JSON document using merge patches.
* remove duplicate functions
* fix message string
* Handle processing of policies in background (#569)
* remove condition check while generating mutation patch as conditions are verified in the first iteration
* initial commit
* background policy validation
* correct message
* skip non-background policy process for add/update
* fix order to correct policy registration
* update comment
Co-authored-by: shuting <shutting06@gmail.com>
* refactor
Co-authored-by: shuting <shutting06@gmail.com>
|
2019-12-30 17:08:50 -08:00 |
|