Skip to content

Commit

Permalink
auth: register auth controllers with the server (#19000)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishustava authored Sep 25, 2023
1 parent 3ea6afb commit 06c15d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions agent/consul/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 06c15d0

Please sign in to comment.