enable status as subresource of each CRD
This commit is contained in:
parent
8c312961f9
commit
2406e4ce82
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue