kubernetes/pkg/controller
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
..
bootstrap hack/update-bazel.sh 2017-05-11 15:59:04 -07:00
certificates Improve error reporting by including file name in the message. 2017-06-06 17:47:11 +02:00
cloud move labels to components which own the APIs 2017-05-31 10:32:06 -04:00
cronjob Fix for-loop and err definition 2017-05-31 13:51:14 +08:00
daemon Update kubectl rollout to consume .data of DaemonSet history 2017-06-10 10:52:33 -07:00
deployment Implement DaemonSet history logic in controller 2017-06-03 00:44:23 -07:00
disruption avoiding unnecessary loop to copy pods listed see #46433 2017-05-29 15:40:30 +02:00
endpoint Avoid sleep in endpoint controller 2017-05-19 13:57:36 +02:00
garbagecollector Merge pull request #47000 from caesarxuchao/fix-gc-orphan 2017-06-12 18:19:40 -07:00
history Auto generated code for StatefulSet update 2017-06-06 13:47:19 -07:00
job Fix #45213: Syncing jobs would return error when podController exception 2017-05-15 22:52:50 +08:00
namespace Run namespace deletion in background 2017-06-08 17:29:35 -04:00
node move labels to components which own the APIs 2017-05-31 10:32:06 -04:00
podautoscaler HPA: only send updates when the status has changed 2017-06-07 10:57:19 -04:00
podgc autogenerated 2017-04-14 10:40:57 -07:00
replicaset More RC/RS controller logging updates 2017-04-21 08:07:18 -04:00
replication Removed TODO that renaming ReplicationManager. 2017-04-30 19:37:47 +08:00
resourcequota resource quota full resync was removed in error 2017-05-11 15:58:55 -04:00
route Add bowei to OWNERS: e2e/test dns,network; cloud route, node, service controller 2017-05-19 14:49:43 -07:00
service Merge pull request #45773 from justinsb/servicecontroller_harmonize 2017-06-11 20:50:10 -07:00
serviceaccount generated: bazel 2017-05-20 21:58:38 -04:00
statefulset Auto generated code for StatefulSet update 2017-06-06 13:47:19 -07:00
ttl autogenerated 2017-04-14 10:40:57 -07:00
volume Merge pull request #46490 from NickrenREN/controller-volume-event 2017-06-01 07:11:05 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Auto generated code for StatefulSet update 2017-06-06 13:47:19 -07:00
client_builder.go fix typos 2017-03-18 22:45:07 +08:00
controller_ref_manager_test.go remove invocation of k8s.io/client-go/pkg/api/install 2017-05-11 15:03:46 -07:00
controller_ref_manager.go Skip pods and replica sets marked for deletion 2017-04-23 00:29:48 +02:00
controller_utils_test.go Implement DaemonSet history logic in controller 2017-06-03 00:44:23 -07:00
controller_utils.go Implement DaemonSet history logic in controller 2017-06-03 00:44:23 -07:00
doc.go
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS Add janetkuo to approvers for controllers 2017-02-08 14:37:25 -08:00