Skip to content

Commit

Permalink
fix(ctrl): remove owns(obparameter) in obcluster controller
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Feb 28, 2024
1 parent ac50859 commit f192ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/obcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (r *OBClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
func (r *OBClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
return ctrl.NewControllerManagedBy(mgr).
For(&v1alpha1.OBCluster{}).
Owns(&v1alpha1.OBZone{}).Owns(&v1alpha1.OBParameter{}).
Owns(&v1alpha1.OBZone{}).
WithEventFilter(preds).
Complete(r)
}

0 comments on commit f192ecb

Please sign in to comment.