Skip to content

Commit 6359466

Browse files
committed
From rebase - add PreAuthorizer to Helm struct
Signed-off-by: Brett Tofel <[email protected]>
1 parent 6f237b2 commit 6359466

File tree

2 files changed

+2
-2
lines changed
  • cmd/operator-controller
  • internal/operator-controller/applier

2 files changed

+2
-2
lines changed

cmd/operator-controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ func run() error {
417417
ActionClientGetter: acg,
418418
Preflights: preflights,
419419
BundleToHelmChartFn: convert.RegistryV1ToHelmChart,
420-
PreAuthorizer: authorization.NewRBACPreAuthorizer(mgr.GetClient()),
420+
PreAuthorizer: authorization.NewRBACPreAuthorizer(mgr.GetClient()),
421421
}
422422

423423
cm := contentmanager.NewManager(clientRestConfigMapper, mgr.GetConfig(), mgr.GetRESTMapper())

internal/operator-controller/applier/helm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type BundleToHelmChartFn func(rv1 fs.FS, installNamespace string, watchNamespace
6060
type Helm struct {
6161
ActionClientGetter helmclient.ActionClientGetter
6262
Preflights []Preflight
63-
PreAuthorizer authorization.PreAuthorizer
63+
PreAuthorizer authorization.PreAuthorizer
6464
BundleToHelmChartFn BundleToHelmChartFn
6565
}
6666

0 commit comments

Comments
 (0)