Skip to content

Commit

Permalink
Merge pull request #13728 from subhamkrai/remove-ownerRef-nf
Browse files Browse the repository at this point in the history
core: remove ownerRef from networkFence
  • Loading branch information
travisn committed Feb 8, 2024
2 parents 7aa97eb + 2ac418a commit ebcb0a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/operator/ceph/cluster/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -533,9 +533,6 @@ func (c *clientCluster) createNetworkFence(ctx context.Context, pv corev1.Persis
ObjectMeta: metav1.ObjectMeta{
Name: fenceResourceName(node.Name, driver),
Namespace: cluster.Namespace,
OwnerReferences: []metav1.OwnerReference{
*metav1.NewControllerRef(cluster, cephv1.SchemeGroupVersion.WithKind("CephCluster")),
},
},
Spec: addonsv1alpha1.NetworkFenceSpec{
Driver: pv.Spec.CSI.Driver,
Expand Down

0 comments on commit ebcb0a4

Please sign in to comment.