kubernetes/pkg/controlplane/controller/defaultservicecidr
Antonio Ojea 81e680e6d9 defaultservicecidr controller no shutdown eventbroadcaster on start
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
2025-07-31 10:58:40 +00:00
..
default_servicecidr_controller.go
default_servicecidr_controller_test.go
OWNERS