Stop intermediate renew routine on leader stop

This commit is contained in:
Kyle Havlovitz 2020-10-09 12:28:43 -07:00
parent 4c83ad3e02
commit ff12fc9f38
1 changed files with 1 additions and 0 deletions

View File

@ -593,6 +593,7 @@ func (s *Server) startConnectLeader() error {
func (s *Server) stopConnectLeader() { func (s *Server) stopConnectLeader() {
s.leaderRoutineManager.Stop(intentionMigrationRoutineName) s.leaderRoutineManager.Stop(intentionMigrationRoutineName)
s.leaderRoutineManager.Stop(secondaryCARootWatchRoutineName) s.leaderRoutineManager.Stop(secondaryCARootWatchRoutineName)
s.leaderRoutineManager.Stop(intermediateCertRenewWatchRoutineName)
s.leaderRoutineManager.Stop(caRootPruningRoutineName) s.leaderRoutineManager.Stop(caRootPruningRoutineName)
// If the provider implements NeedsStop, we call Stop to perform any shutdown actions. // If the provider implements NeedsStop, we call Stop to perform any shutdown actions.