Skip to content

Commit 8b3b27c

Browse files
Remove owner reference for ClusterRoleBinding to RayCluster
1 parent 3f1166c commit 8b3b27c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/controllers/raycluster_controller.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ func desiredOAuthClusterRoleBinding(cluster *rayv1.RayCluster) *rbacapply.Cluste
232232
WithAPIGroup("rbac.authorization.k8s.io").
233233
WithKind("ClusterRole").
234234
WithName("system:auth-delegator"),
235-
).
236-
WithOwnerReferences(
237-
v1.OwnerReference().WithUID(cluster.UID).WithName(cluster.Name).WithKind(cluster.Kind).WithAPIVersion(cluster.APIVersion),
238235
)
239236
}
240237

0 commit comments

Comments
 (0)