Max Goncharenko
|
4c7ca97eac
|
Patch strategic merge preprocessing: implement anchor handling (#2156)
* finished walkMap
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added validation to the patchStrategicMerge
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* finished fixing tests
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fixed part of old tests
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* patchStrategicMerge anchor preprocessing is finished
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fix #1915 and #1896
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* fix lint errors
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* removed debug logs
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* added failing test
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
* Fix unnecessary deletion
Signed-off-by: Maxim Goncharenko <goncharenko.maxim@apriorit.com>
|
2021-07-23 10:53:37 -07:00 |
|
Jim Bugwadia
|
6dff9e0ab9
|
merge and resolve conflicts
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
|
2021-03-25 16:43:12 -07:00 |
|
Pooja Singh
|
4128410207
|
Enhancement/existence anchor - should loop all the items in the array (#1719)
* updated validating policy code
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* changed existance logic to loop all the items in array
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
* updated comments and error messages
Signed-off-by: NoSkillGirl <singhpooja240393@gmail.com>
|
2021-03-19 15:18:26 -07:00 |
|
Max Goncharenko
|
24c4f06ecd
|
Fix #1506; Resolve path reference in entire rule instead of just pattern/overlay
Signed-off-by: Max Goncharenko <kacejot@fex.net>
|
2021-03-16 13:45:40 +02:00 |
|
Jim Bugwadia
|
3a4592ca3b
|
handle anchors for wildcard annotations
|
2021-01-07 11:24:38 -08:00 |
|
Shuting Zhao
|
b9fb926ddb
|
fixes for golint ./...
|
2020-11-17 13:07:30 -08:00 |
|
Shuting Zhao
|
cdc5190c56
|
update nirmata/kyverno to kyverno/kyverno
|
2020-10-07 11:12:31 -07:00 |
|
Mohan B E
|
a827f88dc7
|
resolved conditional anchor issue and added validation to pattern labels (#1060)
* resolved conditional anchor issue and added validation to pattern labels
* restored IsConditionAnchor
* added annotation and anypattern validation
* added conditional anchor key checker
* reverted docs
* fixed tests
* modified validation
* modified validate condition check
|
2020-08-28 18:22:22 -07:00 |
|
shivkumar dudhani
|
d327309d72
|
refactor logging
|
2020-03-17 16:25:34 -07:00 |
|
shivkumar dudhani
|
1b1ab78f77
|
logs & access
|
2020-03-17 11:05:20 -07:00 |
|
Shivkumar Dudhani
|
f4406bbefc
|
linter fixes (#656)
* cleanup phase 1
* linter fixes phase 2
* linter fixes
* linter fixes
|
2020-01-24 16:27:51 -08:00 |
|
Shivkumar Dudhani
|
8c1d79ab28
|
linter suggestions (#655)
* cleanup phase 1
* linter fixes phase 2
|
2020-01-24 12:05:53 -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 |
|
shivkumar dudhani
|
3fa8834b4a
|
policy validation: refactoring
|
2019-10-21 14:22:31 -07:00 |
|