kubernetes/pkg/controller/volume/attachdetach
Kubernetes Submit Queue 3e169be887 Merge pull request #35647 from ymqytw/patch_primitive_list
Automatic merge from submit-queue

Fix strategic patch for list of primitive type with merge sementic

Fix strategic patch for list of primitive type when the patch strategy is `merge`.
Before: we cannot replace or delete an item in a list of primitive, e.g. string, when the patch strategy is `merge`. It will always append new items to the list.
This patch will generate a map to update the list of primitive type.
The server with this patch will accept either a new patch or an old patch.
The client will found out the APIserver version before generate the patch.

Fixes #35163, #32398

cc: @pwittrock @fabianofranz 

``` release-note
Fix strategic patch for list of primitive type when patch strategy is `merge` to remove deleted objects.
```
2016-11-11 14:36:44 -08:00
..
cache Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
populator autogenerated 2016-10-21 17:32:32 -07:00
reconciler Better messaging for missing volume components on host to perform mount 2016-11-09 15:16:11 -08:00
statusupdater support patch list of primitives 2016-11-09 11:46:59 -08:00
testing autogenerated 2016-10-21 17:32:32 -07:00
attach_detach_controller_test.go move informer and controller to pkg/client/cache 2016-09-15 12:50:08 -07:00
attach_detach_controller.go Better messaging for missing volume components on host to perform mount 2016-11-09 15:16:11 -08:00
BUILD autogenerated 2016-10-21 17:32:32 -07:00
OWNERS Reorganize volume controllers and manager 2016-07-01 18:50:25 -07:00