kubernetes/pkg/controller
Kubernetes Submit Queue ccef02e04f
Merge pull request #67461 from janetkuo/ds-collision-count
Automatic merge from submit-queue (batch tested with PRs 67461, 67464, 67416). 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>.

Avoid unnecessary DaemonSet collisionCount bump

**What this PR does / why we need it**: Sometimes DaemonSet controller will bump its collisionCount more than necessary when the collisionCount of the DaemonSet in the cache store hasn't been updated. This won't affect users, as collisionCount is only used for creating unique hash and the number doesn't matter as long as it changes. This fix avoids the unnecessary collisionCount updates and de-flakes the DaemonSet test for collisionCount. 

**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 #67273

**Special notes for your reviewer**: @kubernetes/sig-apps-pr-reviews 

**Release note**:

```release-note
NONE
```
2018-08-15 20:09:05 -07:00
..
bootstrap Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
certificates UT case of certificate_controller 2018-07-14 16:40:08 +08:00
cloud use glog.V().Infof() for formatting output; return nil when err's nil 2018-08-15 11:48:59 +08:00
clusterroleaggregation Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cronjob Typo Fix. 2018-06-29 11:04:10 +05:30
daemon Merge pull request #67461 from janetkuo/ds-collision-count 2018-08-15 20:09:05 -07:00
deployment Update workloads controller owner files 2018-08-14 14:20:34 -07:00
disruption Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
endpoint dup key func 2018-08-03 16:41:23 +08:00
garbagecollector dry-run: Update DynamicClient to pass Create/Update options 2018-08-02 10:38:31 -07:00
history Fix for duplicate revisions created by StatefulSet 2018-08-13 09:42:53 -07:00
job Removed unused functions. 2018-07-22 20:56:53 +08:00
namespace Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
nodeipam Update external k8s.io/metrics imports 2018-07-02 10:44:18 +02:00
nodelifecycle Fix out of bounds error on non-64-bit machines 2018-06-28 16:29:52 -04:00
podautoscaler make the log more readable 2018-08-07 10:00:31 +08:00
podgc add ns info for pod in log 2018-08-01 16:25:34 +08:00
replicaset Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
replication Make conversion function names match expected values 2018-07-17 23:02:16 -04:00
resourcequota Merge pull request #66351 from vikaschoudhary16/fix-scopeselector-exist-operator 2018-08-06 07:13:14 -07:00
route Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
service Implement GetLoadBalancerName per provider and add DefaultLoadBalancerName. 2018-08-04 00:36:48 -04:00
serviceaccount Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
statefulset fix typo: scale dowm-> scale down 2018-08-01 10:39:59 +08:00
testutil Merge pull request #65052 from dbdd4us/master 2018-07-11 22:25:03 -07:00
ttl Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util/node Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
volume Merge pull request #66666 from bertinatto/metrics_ad_controller 2018-08-15 09:42:06 -07:00
.import-restrictions
BUILD Safe encode template hash value to make it consistent with resource name 2018-07-13 09:52:26 -07:00
client_builder.go pkg/controller: remove old clientbuilder methods 2018-07-17 09:06:59 -07:00
controller_ref_manager_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_ref_manager.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils_test.go Use apps/v1 in Deployment controller. 2018-05-22 13:42:10 -07:00
controller_utils.go Safe encode template hash value to make it consistent with resource name 2018-07-13 09:52:26 -07:00
doc.go
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00