k3s/api/swagger-spec
Kubernetes Submit Queue dbd1503b65 Merge pull request #45924 from janetkuo/daemonset-history
Automatic merge from submit-queue

Implement Daemonset history

~Depends on #45867 (the 1st commit, ignore it when reviewing)~ (already merged)

Ref https://github.com/kubernetes/community/pull/527/ and https://github.com/kubernetes/community/pull/594

@kubernetes/sig-apps-api-reviews @kubernetes/sig-apps-pr-reviews @erictune @kow3ns @lukaszo @kargakis 

---

TODOs:
- [x] API changes
  - [x] (maybe) Remove rollback subresource if we decide to do client-side rollback 
- [x] deployment controller 
  - [x] controller revision
    - [x] owner ref (claim & adoption)
    - [x] history reconstruct (put revision number, hash collision avoidance)
    - [x] de-dup history and relabel pods
    - [x] compare ds template with history 
  - [x] hash labels (put it in controller revision, pods, and maybe deployment)
  - [x] clean up old history 
  - [x] Rename status.uniquifier when we reach consensus in #44774 
- [x] e2e tests 
- [x] unit tests 
  - [x] daemoncontroller_test.go 
  - [x] update_test.go 
  - [x] ~(maybe) storage_test.go // if we do server side rollback~

kubectl part is in #46144

--- 

**Release note**:

```release-note
```
2017-06-03 16:52:38 -07:00
..
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
admissionregistration.k8s.io.json generated 2017-05-26 00:14:11 -07:00
admissionregistration.k8s.io_v1alpha1.json generated 2017-05-31 16:51:19 -07:00
api.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
apis.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
apps.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
apps_v1alpha1.json Added ability for Docker containers to set usage of dns settings along with hostNetwork is true 2017-03-01 17:10:00 +00:00
apps_v1beta1.json Merge pull request #44785 from jingxu97/April/apistorage 2017-06-01 09:12:19 -07:00
authentication.k8s.io.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
authentication.k8s.io_v1.json generated: api changes 2017-05-18 10:07:47 -04:00
authentication.k8s.io_v1beta1.json generated: api changes 2017-05-18 10:07:47 -04:00
authorization.k8s.io.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
authorization.k8s.io_v1.json generated: api changes 2017-05-18 10:07:47 -04:00
authorization.k8s.io_v1beta1.json generated: api changes 2017-05-18 10:07:47 -04:00
autoscaling.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
autoscaling_v1.json generated: api changes 2017-05-18 10:07:47 -04:00
autoscaling_v2alpha1.json generated: api changes 2017-05-18 10:07:47 -04:00
batch.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
batch_v1.json generated files 2017-05-31 13:06:39 -07:00
batch_v2alpha1.json generated files 2017-05-31 13:06:39 -07:00
certificates.k8s.io.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
certificates.k8s.io_v1beta1.json generated: api changes 2017-05-18 10:07:47 -04:00
extensions.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
extensions_v1beta1.json Autogen: run hack/update-all.sh 2017-06-03 00:43:53 -07:00
logs.json Update generated proto and swagger docs 2016-09-12 18:47:03 -07:00
networking.k8s.io.json Regenerate files 2017-05-28 10:11:02 -04:00
networking.k8s.io_v1.json Regenerate files 2017-05-28 10:11:02 -04:00
policy.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
policy_v1alpha1.json Merge pull request #35481 from smarterclayton/apidoc 2016-11-05 18:51:47 -07:00
policy_v1beta1.json PDB MaxUnavailable: Generated 2017-05-23 07:42:24 -07:00
rbac.authorization.k8s.io.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
rbac.authorization.k8s.io_v1alpha1.json generated: api changes 2017-05-18 10:07:47 -04:00
rbac.authorization.k8s.io_v1beta1.json generated: api changes 2017-05-18 10:07:47 -04:00
resourceListing.json Regenerate files 2017-05-28 10:11:02 -04:00
settings.k8s.io.json run generators and updaters 2017-03-01 13:04:29 -08:00
settings.k8s.io_v1alpha1.json generated files 2017-05-31 13:06:39 -07:00
storage.authorization.k8s.io_v1beta1.json generated code for moving StorageClass 2016-09-06 08:41:17 -04:00
storage.k8s.io.json refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
storage.k8s.io_v1.json generated: api changes 2017-05-18 10:07:47 -04:00
storage.k8s.io_v1beta1.json generated: api changes 2017-05-18 10:07:47 -04:00
v1.json 'Global' -> 'Cluster' for traffic policy 2017-06-01 16:17:38 -07:00
version.json update autogenerated 2016-08-18 14:14:52 -07:00