Files
kubernetes/pkg/kubectl/cmd
k8s-merge-robot 6936b9ff21 Merge pull request #20918 from deads2k/fix-list-edit
Automatic merge from submit-queue

fix edit on list

Fixes https://github.com/kubernetes/kubernetes/issues/20519

This reverts the implementation that removed list editing capability, but leaves its tests intact.  This allows edits of lists to work, while still allowing mutation of the annotations.  It does this by walking each item and building per item patches.

The current implementation will do funny things if you delete entire list entries.  A followup could be written to locate the correct list item by name.  Right now, it just rejects the patch because its trying to change an immutable field.

@janetkuo @kubernetes/kubectl @kargakis
2016-05-22 07:12:18 -07:00
..
2016-05-18 21:23:17 -07:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-05-03 22:50:24 -04:00
2016-05-12 08:21:11 +02:00
2016-05-18 21:23:17 -07:00
2016-04-29 17:12:10 -04:00
2016-05-18 15:06:23 +00:00
2016-05-18 21:23:17 -07:00
2016-05-18 21:23:17 -07:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-04-29 17:12:10 -04:00
2016-05-12 08:21:11 +02:00
2016-05-12 08:21:11 +02:00
2016-05-16 11:02:10 -04:00
2016-05-12 08:21:11 +02:00
2016-03-31 10:53:32 -07:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-05-12 08:21:11 +02:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-03-31 10:53:32 -07:00
2016-05-12 08:21:11 +02:00
2016-05-12 08:21:11 +02:00
2016-03-31 10:53:32 -07:00
2016-05-18 21:23:17 -07:00
2016-05-12 08:21:11 +02:00
2016-05-18 21:23:17 -07:00
2016-03-31 10:53:32 -07:00
2016-05-18 15:06:23 +00:00
2016-05-18 15:06:23 +00:00