diff --git a/pkg/apis/membercluster/v1alpha1/types.go b/pkg/apis/membercluster/v1alpha1/types.go index 3c27acf67..bc76f8af5 100644 --- a/pkg/apis/membercluster/v1alpha1/types.go +++ b/pkg/apis/membercluster/v1alpha1/types.go @@ -9,6 +9,7 @@ import ( // +genclient:nonNamespaced // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +kubebuilder:resource:scope="Cluster" +// +kubebuilder:subresource:status // MemberCluster represents the desire state and status of a member cluster. type MemberCluster struct { diff --git a/pkg/apis/propagationstrategy/v1alpha1/binding_types.go b/pkg/apis/propagationstrategy/v1alpha1/binding_types.go index 9b6882221..e9cf56793 100644 --- a/pkg/apis/propagationstrategy/v1alpha1/binding_types.go +++ b/pkg/apis/propagationstrategy/v1alpha1/binding_types.go @@ -6,6 +6,7 @@ import ( // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status // PropagationBinding represents a binding of a kubernetes resource with a propagation policy. type PropagationBinding struct { diff --git a/pkg/apis/propagationstrategy/v1alpha1/propagation_types.go b/pkg/apis/propagationstrategy/v1alpha1/propagation_types.go index d7b25be80..93d365bcb 100644 --- a/pkg/apis/propagationstrategy/v1alpha1/propagation_types.go +++ b/pkg/apis/propagationstrategy/v1alpha1/propagation_types.go @@ -7,6 +7,7 @@ import ( // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status // PropagationPolicy represents the policy that propagates a group of resources to one or more clusters. type PropagationPolicy struct { diff --git a/pkg/apis/propagationstrategy/v1alpha1/work_types.go b/pkg/apis/propagationstrategy/v1alpha1/work_types.go index d252a83a4..24ac91a07 100644 --- a/pkg/apis/propagationstrategy/v1alpha1/work_types.go +++ b/pkg/apis/propagationstrategy/v1alpha1/work_types.go @@ -7,6 +7,7 @@ import ( // +genclient // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:subresource:status // PropagationWork defines a list of resources to be deployed on the member cluster. type PropagationWork struct {