diff --git a/artifacts/deploy/policy.karmada.io_propagationpolicies.yaml b/artifacts/deploy/policy.karmada.io_propagationpolicies.yaml index f7d86daaa..76567d320 100644 --- a/artifacts/deploy/policy.karmada.io_propagationpolicies.yaml +++ b/artifacts/deploy/policy.karmada.io_propagationpolicies.yaml @@ -327,8 +327,6 @@ spec: type: object served: true storage: true - subresources: - status: {} status: acceptedNames: kind: "" diff --git a/pkg/apis/policy/v1alpha1/propagation_types.go b/pkg/apis/policy/v1alpha1/propagation_types.go index 970a825dd..bd85dd986 100644 --- a/pkg/apis/policy/v1alpha1/propagation_types.go +++ b/pkg/apis/policy/v1alpha1/propagation_types.go @@ -7,7 +7,6 @@ import ( // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// +kubebuilder:subresource:status // +kubebuilder:resource:shortName=pp // PropagationPolicy represents the policy that propagates a group of resources to one or more clusters.