Skip to content

Commit 8f58d72

Browse files
committed
Initialization resource: set ownership on rbac objects
1 parent a53d881 commit 8f58d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/operator/openstack_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func (r *OpenStackReconciler) applyCRDs(ctx context.Context, instance *operatorv
308308
func (r *OpenStackReconciler) applyRBAC(ctx context.Context, instance *operatorv1beta1.OpenStack) error {
309309
data := bindata.MakeRenderData()
310310
data.Data["OperatorNamespace"] = instance.Namespace
311-
return r.renderAndApply(ctx, instance, data, "rbac", false)
311+
return r.renderAndApply(ctx, instance, data, "rbac", true)
312312
}
313313

314314
func (r *OpenStackReconciler) applyOperator(ctx context.Context, instance *operatorv1beta1.OpenStack) error {

0 commit comments

Comments
 (0)