k3s/test
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
..
e2e Merge pull request #47075 from janetkuo/ds-history-patch 2017-06-12 23:31:08 -07:00
e2e_federation Merge pull request #47139 from quinton-hoole/2017-06-07-add-quinton-to-e2e-federation-OWNERS 2017-06-08 17:28:32 -07:00
e2e_node Fix bad check in node e2e tests for GPUs. 2017-06-11 19:25:35 -07:00
fixtures Add Initializers to all admission control paths by default 2017-06-02 22:09:04 -04:00
images no-snat test 2017-05-26 13:45:10 -07:00
integration Merge pull request #47141 from gnufied/speedup-volume-integration-test 2017-06-09 13:19:40 -07:00
kubemark Bump up npd version to v0.4.0 2017-06-06 16:30:02 -07:00
list
soak Cleanup: replace some hardcoded codes and remove unused functions 2017-04-25 09:38:25 +08:00
utils Merge pull request #36376 from kargakis/add-failure-trap 2017-06-09 11:18:45 -07:00
BUILD
OWNERS Add bowei to OWNERS: e2e/test dns,network; cloud route, node, service controller 2017-05-19 14:49:43 -07:00
test_owners.csv Updated test/test_owners.csv for federation test cases 2017-05-20 08:43:30 +05:30
test_owners.json Make update_owners.py also emit a JSON sig-owners list. 2017-05-11 17:01:29 -07:00