From 06c15d0656a1e0539fa75d66f147ddaebecdcf1e 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 ee58a450de..ffa5dfdb26 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)