mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-15 00:37:52 -05:00
The defaultservicecidr controller runs as an apiserver PostStartHook hence can not block the startup. The logic of the controller was copied from the common boilerplate and was assuming the controller blocked on start, hence defering the shutdown of the eventbroadcaster. Only shutdown the eventbroadcaster when the context is done. Change-Id: I70426d5550afe3b12ab5ea68746238dd96f7db52 |
||
|---|---|---|
| .. | ||
| default_servicecidr_controller.go | ||
| default_servicecidr_controller_test.go | ||
| OWNERS | ||