target: add controller extension to service handler

The controller extension can be used to access types unavailable
in OSS.
This commit is contained in:
Johan Brandhorst-Satzkorn authored and Timothy Messier committed 2023-05-31 12:18:13 +00:00
1 parent 47477e8fd6
commit 6d219bd5d1
3 files changed
+14 -5

No files matched your search

+3 -1
View File
@@ -201,7 +201,9 @@ func (c *Controller) registerGrpcServices(s *grpc.Server) error {
c.VaultCredentialRepoFn,
c.StaticCredentialRepoFn,
c.downstreamWorkers,
c.workerStatusGracePeriod)
c.workerStatusGracePeriod,
c.ControllerExtension,
)
if err != nil {
return fmt.Errorf("failed to create target handler service: %w", err)
}