From b4b873982680154b3a9a48dae3751ceb93223984 Mon Sep 17 00:00:00 2001 From: Iryna Shustava Date: Mon, 25 Sep 2023 16:54:03 -0600 Subject: [PATCH] auth: register auth controllers with the server (#19000) --- agent/consul/server.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agent/consul/server.go b/agent/consul/server.go index ee58a450de88..ffa5dfdb260a 100644 --- a/agent/consul/server.go +++ b/agent/consul/server.go @@ -19,6 +19,7 @@ import ( "sync/atomic" "time" + "github.com/hashicorp/consul/internal/auth" "github.com/hashicorp/consul/internal/mesh" "github.com/hashicorp/consul/internal/resource" @@ -934,6 +935,8 @@ func (s *Server) registerControllers(deps Deps, proxyUpdater ProxyUpdater) error DefaultAllow: defaultAllow, ProxyUpdater: proxyUpdater, }) + + auth.RegisterControllers(s.controllerManager, auth.DefaultControllerDependencies()) } reaper.RegisterControllers(s.controllerManager)