Kubernetes Submit Queue
4425841ce2
Merge pull request #53158 from liggitt/update-pod-spec-versioned
...
Automatic merge from submit-queue (batch tested with PRs 53101, 53158, 52165). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Calculate patches for commands using input version
Fixes #53040
the encoder used for encoding these objects while calculating patches does not have sufficient information to select a correct version when the object does not exist in all versions of a target group (like replicasets not existing in apps/v1beta1)
this PR wraps the encoder to first convert to the same version used to read the object (based on the mapping's GroupVersion)
long-term, we should switch UpdatePodSpecForObject to work on versioned objects and v1.PodSpec and avoid conversion altogether
```release-note
Fixes an issue with `kubectl set` commands encountering conversion errors for ReplicaSet and DaemonSet objects
```
2017-09-29 14:36:19 -07:00
..
2017-08-11 09:32:39 -07:00
2017-08-11 09:32:39 -07:00
2017-08-11 09:32:39 -07:00
2017-06-09 14:25:32 +08:00
2017-09-07 19:43:41 +08:00
2017-09-06 15:46:24 -07:00
2017-09-29 14:36:19 -07:00
2017-09-29 12:38:17 -07:00
2017-08-14 14:55:42 +08:00
2017-09-28 11:43:35 +05:30
2016-06-08 17:22:12 -07:00
2016-12-10 01:15:30 -08:00
2017-08-16 16:38:28 -07:00
2016-07-12 21:52:54 -07:00
2016-07-12 21:52:00 -07:00
2017-02-01 15:18:32 -05:00
2017-06-26 16:54:11 -04:00
2016-12-15 10:35:16 -07:00
2016-12-15 10:35:16 -07:00
2016-12-14 13:42:15 -08:00
2017-07-05 14:24:25 -07:00
2017-09-19 18:10:21 +05:30
2017-08-23 16:05:46 -07:00
2017-04-05 18:47:03 -07:00
2017-06-16 13:48:50 -07:00
2017-02-16 10:11:57 -08:00
2016-06-29 18:46:07 -07:00
2017-07-31 15:10:56 -07:00
2017-07-25 12:11:07 -07:00
2017-08-31 23:30:45 -07:00
2016-10-20 16:47:20 -04:00
2016-06-29 17:47:36 -07:00
2017-08-27 22:20:04 -04:00
2017-09-28 00:16:13 +08:00
2017-05-25 14:05:02 +08:00
2017-08-02 10:39:26 -07:00
2017-06-08 14:59:55 -07:00
2016-07-15 08:42:12 -07:00
2017-09-20 08:36:09 +02:00
2016-08-02 10:27:29 -04:00
2016-07-12 21:52:00 -07:00
2017-06-07 12:31:01 -04:00
2017-08-15 11:56:46 +02:00
2017-07-20 12:10:46 +02:00
2017-08-31 23:30:45 -07:00
2017-01-17 09:06:34 -05:00
2017-08-24 14:05:57 -07:00
2017-08-17 17:55:12 +02:00
2017-01-17 09:06:34 -05:00
2017-01-17 09:06:34 -05:00
2017-05-19 15:39:08 -07:00
2017-01-06 23:45:04 -05:00
2017-08-15 14:59:42 -07:00
2017-08-15 14:59:42 -07:00
2017-02-16 10:11:57 -08:00
2017-09-07 18:31:48 +02:00
2016-12-14 13:42:15 -08:00
2017-08-17 17:55:12 +02:00
2016-12-14 13:42:15 -08:00
2017-05-29 18:23:48 -04:00
2017-09-01 13:55:16 -07:00
2017-02-17 08:51:31 +01:00
2016-12-26 21:59:27 -08:00
2017-09-20 17:47:01 +02:00
2017-07-25 12:26:57 -07:00
2017-05-31 11:57:03 +02:00
2017-04-06 20:12:50 -07:00
2016-07-12 21:52:00 -07:00
2017-08-17 17:55:12 +02:00
2016-06-29 17:47:36 -07:00
2017-08-24 14:05:57 -07:00
2017-01-01 22:54:32 -08:00
2017-05-18 15:44:49 -03:00
2017-08-17 17:55:12 +02:00
2016-07-12 21:52:00 -07:00
2017-05-14 17:20:24 -07:00
2017-05-14 17:20:24 -07:00
2016-11-07 02:41:50 -08:00
2017-05-14 17:15:41 -07:00
2017-08-14 14:55:42 +08:00
2017-08-15 14:59:42 -07:00
2017-02-16 10:11:57 -08:00
2017-08-25 14:08:42 -07:00
2017-08-12 23:50:22 +08:00
2017-06-09 10:13:34 +08:00
2016-10-18 11:11:03 +02:00
2016-06-29 17:47:36 -07:00
2017-08-09 22:34:13 -04:00
2017-06-12 17:59:08 +02:00
2017-07-17 14:37:40 -07:00
2017-06-21 11:10:25 -07:00
2017-08-17 17:55:12 +02:00
2016-07-12 21:52:00 -07:00
2017-08-01 21:09:53 -07:00
2017-06-05 13:18:07 -07:00
2017-05-19 10:17:37 -06:00
2017-02-17 08:51:31 +01:00
2017-07-25 12:26:57 -07:00
2017-08-08 16:08:20 -07:00
2016-07-12 21:52:00 -07:00
2016-12-14 06:03:00 -08:00
2016-10-20 16:47:20 -04:00
2016-12-21 11:44:04 -08:00