From ff12fc9f38bde3ccce0435f084f735428dc0b196 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Fri, 9 Oct 2020 12:28:43 -0700 Subject: [PATCH] Stop intermediate renew routine on leader stop --- agent/consul/leader_connect.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/consul/leader_connect.go b/agent/consul/leader_connect.go index 3573e43970..f87641a1c3 100644 --- a/agent/consul/leader_connect.go +++ b/agent/consul/leader_connect.go @@ -593,6 +593,7 @@ func (s *Server) startConnectLeader() error { func (s *Server) stopConnectLeader() { s.leaderRoutineManager.Stop(intentionMigrationRoutineName) s.leaderRoutineManager.Stop(secondaryCARootWatchRoutineName) + s.leaderRoutineManager.Stop(intermediateCertRenewWatchRoutineName) s.leaderRoutineManager.Stop(caRootPruningRoutineName) // If the provider implements NeedsStop, we call Stop to perform any shutdown actions.