@@ -47,11 +47,11 @@ import (
47
47
"github.com/open-policy-agent/gatekeeper/v3/pkg/controller/config/process"
48
48
"github.com/open-policy-agent/gatekeeper/v3/pkg/drivers/k8scel"
49
49
"github.com/open-policy-agent/gatekeeper/v3/pkg/expansion"
50
+ "github.com/open-policy-agent/gatekeeper/v3/pkg/export"
50
51
"github.com/open-policy-agent/gatekeeper/v3/pkg/externaldata"
51
52
"github.com/open-policy-agent/gatekeeper/v3/pkg/metrics"
52
53
"github.com/open-policy-agent/gatekeeper/v3/pkg/mutation"
53
54
"github.com/open-policy-agent/gatekeeper/v3/pkg/operations"
54
- "github.com/open-policy-agent/gatekeeper/v3/pkg/pubsub"
55
55
"github.com/open-policy-agent/gatekeeper/v3/pkg/readiness"
56
56
"github.com/open-policy-agent/gatekeeper/v3/pkg/readiness/pruner"
57
57
"github.com/open-policy-agent/gatekeeper/v3/pkg/syncutil"
@@ -442,7 +442,7 @@ func setupControllers(ctx context.Context, mgr ctrl.Manager, tracker *readiness.
442
442
443
443
mutationSystem := mutation .NewSystem (mutationOpts )
444
444
expansionSystem := expansion .NewSystem (mutationSystem )
445
- pubsubSystem := pubsub .NewSystem ()
445
+ exportSystem := export .NewSystem ()
446
446
447
447
c := mgr .GetCache ()
448
448
dc , ok := c .(watch.RemovableCache )
@@ -515,7 +515,7 @@ func setupControllers(ctx context.Context, mgr ctrl.Manager, tracker *readiness.
515
515
MutationSystem : mutationSystem ,
516
516
ExpansionSystem : expansionSystem ,
517
517
ProviderCache : providerCache ,
518
- PubsubSystem : pubsubSystem ,
518
+ ExportSystem : exportSystem ,
519
519
}
520
520
521
521
if err := controller .AddToManager (mgr , & opts ); err != nil {
@@ -545,7 +545,7 @@ func setupControllers(ctx context.Context, mgr ctrl.Manager, tracker *readiness.
545
545
ProcessExcluder : processExcluder ,
546
546
CacheLister : auditCache ,
547
547
ExpansionSystem : expansionSystem ,
548
- PubSubSystem : pubsubSystem ,
548
+ ExportSystem : exportSystem ,
549
549
}
550
550
if err := audit .AddToManager (mgr , & auditDeps ); err != nil {
551
551
setupLog .Error (err , "unable to register audit with the manager" )
0 commit comments