mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
This is the last step in the process, simply linking ReleaseOnCancel to ControllerManagerReleaseLeaderElectionLockOnExit feature gate. The original logic when the leader election release on exit feature gate is disabled is to not catch signals and exit immediately when the LE lock is lost. This is being put back into place so that the new behavior can be tested without affecting the former approach at all.