Implement the second wave of per-reconciler leaderelection#1302
Implement the second wave of per-reconciler leaderelection#1302knative-prow-robot merged 3 commits intoknative:masterfrom
Conversation
7c94646 to
c391044
Compare
42648f5 to
1dd67ce
Compare
1dd67ce to
6c17b1c
Compare
89c6f22 to
0952388
Compare
0952388 to
4edf767
Compare
4edf767 to
4e4c473
Compare
vagababov
left a comment
There was a problem hiding this comment.
Most issues I have are repetitive from WH to WH. If they're not issues, probably deserve comments :)
dprotaso
left a comment
There was a problem hiding this comment.
Can we add some test coverage?
db884db to
c115a62
Compare
|
The following is the coverage report on the affected files.
|
| // Reconcile when the cert bundle changes. | ||
| secretInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{ | ||
| FilterFunc: controller.FilterWithNameAndNamespace(system.Namespace(), wh.secretName), | ||
| FilterFunc: controller.FilterWithNameAndNamespace(key.Namespace, key.Name), |
There was a problem hiding this comment.
lol the func name FilterWithNameAndNamespace doesn't match the args order
There was a problem hiding this comment.
Yeah, and it'd be nice if it took a types.NamespacedName 🙄
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, mattmoor, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Detailed design: https://docs.google.com/document/d/1i_QHjQO2T3SNv49xjZLWlivcc0UvZN1Tbw2NKxThkyM/edit
Issue: #1181
WIP until #1301 lands