diff --git a/controllers/common/common.go b/controllers/common/common.go index eee77237..1762d0c8 100644 --- a/controllers/common/common.go +++ b/controllers/common/common.go @@ -1,6 +1,7 @@ // Copyright (c) 2020 Red Hat, Inc. // Copyright Contributors to the Open Cluster Management project +// +kubebuilder:skip package common import ( diff --git a/controllers/propagator/rootpolicy_controller.go b/controllers/propagator/rootpolicy_controller.go index 78e90cda..39530fdb 100644 --- a/controllers/propagator/rootpolicy_controller.go +++ b/controllers/propagator/rootpolicy_controller.go @@ -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