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 |
|
shuting
|
70d90ffb06
|
- remove preProcessJSONPatches; - update local Dockerfile (#1703)
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-03-15 10:29:46 -07:00 |
|
Shuting Zhao
|
517c60fadc
|
add unit tests
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-02-25 18:02:52 -08:00 |
|
Shuting Zhao
|
c4ebef7b0d
|
- support AllowMissingPathOnRemove and EnsurePathExistsOnAdd in patchesJSON6902
- upgrade to evanphx/json-patch/v5
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-02-25 15:25:07 -08:00 |
|
shuting
|
3bc386955e
|
Remove unnecessary JSON patches; fixes strategicMergePatch for tolerations (#1478)
* ignore certain paths when generates JSON patches
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* remove extra comment
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* fix https://github.com/kyverno/kyverno/issues/1339
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* resolve PR comments
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
* update comment
Signed-off-by: Shuting Zhao <shutting06@gmail.com>
|
2021-01-19 11:08:06 -08:00 |
|
shuting
|
27e2b9abd5
|
Fix mutation panic (#1462)
* fix #1454
* - add unit tests; - rename method
|
2021-01-08 16:45:39 -08:00 |
|
shuting
|
2fc3b3b998
|
Fixes 1410 strategic merge patch (#1414)
* fixes #1410
* fix unit test
* re-initialize worker immediately on failure
|
2020-12-23 17:48:00 -08:00 |
|
Shuting Zhao
|
cdc5190c56
|
update nirmata/kyverno to kyverno/kyverno
|
2020-10-07 11:12:31 -07:00 |
|
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 |
|