Files
kubernetes/test/e2e
Kubernetes Submit Queue aa35738a21 Merge pull request #47075 from janetkuo/ds-history-patch
Automatic merge from submit-queue

Change what is stored in DaemonSet history `.data`

**What this PR does / why we need it**: 
In DaemonSet history `.data`, store a strategic merge patch that can be applied to restore a DaemonSet. Only PodSpecTemplate is saved. 

This will become consistent with the data stored in StatefulSet history. 

Before this fix, a serialized pod template is stored in `.data`; however, seriazlized pod template isn't a `runtime.RawExtension`, and caused problems when controllers try to patch the history's controller ref. 

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47008

**Special notes for your reviewer**: @kubernetes/sig-apps-bugs @erictune @kow3ns @kargakis @lukaszo @mengqiy 

**Release note**:

```release-note
NONE
```
2017-06-12 23:31:08 -07:00
..
2017-06-03 18:22:39 -04:00
2017-05-23 10:11:46 -07:00
2017-06-09 20:27:23 +02:00
2017-05-31 09:52:55 -07:00
2017-05-23 07:18:44 -07:00
2017-05-22 21:51:11 +08:00
2017-05-26 13:45:10 -07:00
2017-05-11 12:26:40 +08:00
2017-06-06 09:30:17 -07:00
2017-06-06 12:00:28 -07:00