k3s/pkg/controller
Kubernetes Submit Queue 1102fd0dcb
Merge pull request #61981 from hanxiaoshuai/fixtodo0331
Automatic merge from submit-queue. 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>.

fixtodo:rsDeepCopy only when sizeNeedsUpdate or annotationsNeedUpdate

**What this PR does / why we need it**:
```
// TODO: Do not mutate the replica set here, instead simply compare the annotation and if they mismatch
// call SetReplicasAnnotations inside the following if clause. Then we can also move the deep-copy from
// above inside the if too.
```
fixtodo:rsDeepCopy only when sizeNeedsUpdate or annotationsNeedUpdate
**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-04-02 08:02:40 -07:00
..
bootstrap Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
certificates Use typed events client directly 2018-04-01 18:57:29 +10:00
cloud Use typed events client directly 2018-04-01 18:57:29 +10:00
clusterroleaggregation Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cronjob Use typed events client directly 2018-04-01 18:57:29 +10:00
daemon Use typed events client directly 2018-04-01 18:57:29 +10:00
deployment Merge pull request #61981 from hanxiaoshuai/fixtodo0331 2018-04-02 08:02:40 -07:00
disruption Use typed events client directly 2018-04-01 18:57:29 +10:00
endpoint Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
garbagecollector Merge pull request #59172 from fisherxu/removeyear 2018-03-21 12:44:37 -07:00
history Merge pull request #59365 from ayushpateria/patch-sts 2018-02-27 10:21:00 -08:00
job Use typed events client directly 2018-04-01 18:57:29 +10:00
namespace Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
nodeipam Use typed events client directly 2018-04-01 18:57:29 +10:00
nodelifecycle Use typed events client directly 2018-04-01 18:57:29 +10:00
podautoscaler Use typed events client directly 2018-04-01 18:57:29 +10:00
podgc Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
replicaset Use typed events client directly 2018-04-01 18:57:29 +10:00
replication Use typed events client directly 2018-04-01 18:57:29 +10:00
resourcequota Merge pull request #57302 from lichuqiang/resourceQuota4extendedResource 2018-02-20 14:10:46 -08:00
route Use typed events client directly 2018-04-01 18:57:29 +10:00
service Use typed events client directly 2018-04-01 18:57:29 +10:00
serviceaccount implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
statefulset Use typed events client directly 2018-04-01 18:57:29 +10:00
testutil Revert "add node shutdown taint" 2018-02-16 12:24:27 +01:00
ttl Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util/node Revert "add node shutdown taint" 2018-02-16 12:24:27 +01:00
volume Use typed events client directly 2018-04-01 18:57:29 +10:00
.import-restrictions
BUILD generated code 2018-02-23 08:06:42 -08:00
OWNERS
client_builder.go
controller_ref_manager.go Update the DaemonSet controller to use the apps/v1 API 2018-02-22 11:38:54 -08:00
controller_ref_manager_test.go
controller_utils.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
controller_utils_test.go
doc.go
lookup_cache.go