k3s/pkg/client
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 Merge pull request #35382 from jbeda/nits 2016-11-10 17:48:06 -08:00
chaosclient autogenerated 2016-10-21 17:32:32 -07:00
clientset_generated Switch pod eviction client from v1alpha1 to v1beta. 2016-11-11 19:34:29 +01:00
leaderelection autogenerated 2016-10-21 17:32:32 -07:00
listers Merge pull request #35483 from ymqytw/use_evict_for_drain 2016-11-07 17:42:08 -08:00
metrics autogenerated 2016-10-21 17:32:32 -07:00
record support patch list of primitives 2016-11-09 11:46:59 -08:00
restclient Merge pull request #35810 from deads2k/client-18-decode-status 2016-11-03 11:18:23 -07:00
retry autogenerated 2016-10-21 17:32:32 -07:00
testdata
testing autogenerated 2016-10-21 17:32:32 -07:00
transport autogenerated 2016-10-21 17:32:32 -07:00
typed Update bazel 2016-11-04 21:17:12 +01:00
unversioned Add timeout argument to ExecInContainer 2016-11-07 13:00:59 +01:00
OWNERS