Skip to content

Commit

Permalink
remove constraint on single cp of type host
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Dettori <[email protected]>
  • Loading branch information
pdettori committed Mar 12, 2024
1 parent 0b735f8 commit 5a988e3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/reconcilers/host/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ func New(cl client.Client, scheme *runtime.Scheme, version string, clientSet *ku
func (r *HostReconciler) Reconcile(ctx context.Context, hcp *tenancyv1alpha1.ControlPlane) (ctrl.Result, error) {
_ = clog.FromContext(ctx)

// only one CP of type "host" can exist
if err := r.checkOnlyOneCPOfTypeHostExists(ctx, hcp); err != nil {
return r.UpdateStatusForSyncingError(hcp, err)
}

if err := r.BaseReconciler.ReconcileNamespace(ctx, hcp); err != nil {
return r.UpdateStatusForSyncingError(hcp, err)
}
Expand Down

0 comments on commit 5a988e3

Please sign in to comment.