Skip to content

Commit

Permalink
Fix extraneous CRD generation
Browse files Browse the repository at this point in the history
Signed-off-by: Dale Haiducek <[email protected]>
(cherry picked from commit bea4d34)
  • Loading branch information
dhaiducek authored and Magic Mirror committed Feb 8, 2024
1 parent 7451c3b commit 3759a8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions controllers/common/common.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) 2020 Red Hat, Inc.
// Copyright Contributors to the Open Cluster Management project

// +kubebuilder:skip
package common

import (
Expand Down
3 changes: 0 additions & 3 deletions controllers/propagator/rootpolicy_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ func (r *RootPolicyReconciler) Reconcile(ctx context.Context, request ctrl.Reque
return reconcile.Result{}, nil
}

//+kubebuilder:object:root=true
//+kubebuilder:skip

// updateExistingReplicas lists all existing replicated policies for this root policy, and sends
// events for each of them to the replicated policy reconciler. This will trigger updates on those
// replicated policies, for example when the root policy spec changes, or when the replicated
Expand Down

0 comments on commit 3759a8e

Please sign in to comment.