We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a307a6d commit f553c5dCopy full SHA for f553c5d
cmd/operator-controller/main.go
@@ -617,7 +617,10 @@ func (c *boxcutterReconcilerConfigurator) Configure(ceReconciler *controllers.Cl
617
// determine if PreAuthorizer should be enabled based on feature gate
618
var preAuth authorization.PreAuthorizer
619
if features.OperatorControllerFeatureGate.Enabled(features.PreflightPermissions) {
620
- preAuth = authorization.NewRBACPreAuthorizer(c.mgr.GetClient())
+ preAuth = authorization.NewRBACPreAuthorizer(
621
+ c.mgr.GetClient(),
622
+ authorization.WithNamespacedCollectionVerbs("create"),
623
+ )
624
}
625
626
// TODO: better scheme handling - which types do we want to support?
0 commit comments