diff --git a/api/v1/eventhub_types.go b/api/v1/eventhub_types.go index b3bdfb850ad..9b6f071a43c 100644 --- a/api/v1/eventhub_types.go +++ b/api/v1/eventhub_types.go @@ -72,7 +72,6 @@ type EventhubProperties struct { } // +kubebuilder:object:root=true -// +kubebuilder:subresource:status // Eventhub is the Schema for the eventhubs API type Eventhub struct { metav1.TypeMeta `json:",inline"` diff --git a/config/crd/bases/azure.microsoft.com_eventhubs.yaml b/config/crd/bases/azure.microsoft.com_eventhubs.yaml index f881df6e68a..76c5fd857ec 100644 --- a/config/crd/bases/azure.microsoft.com_eventhubs.yaml +++ b/config/crd/bases/azure.microsoft.com_eventhubs.yaml @@ -11,8 +11,6 @@ spec: kind: Eventhub plural: eventhubs scope: "" - subresources: - status: {} validation: openAPIV3Schema: description: Eventhub is the Schema for the eventhubs API diff --git a/main.go b/main.go index d899844d772..1ed35c2930f 100644 --- a/main.go +++ b/main.go @@ -118,7 +118,6 @@ func main() { setupLog.Error(err, "unable to create webhook", "webhook", "EventhubNamespace") os.Exit(1) } - err = (&controllers.ConsumerGroupReconciler{ Client: mgr.GetClient(), Log: ctrl.Log.WithName("controllers").WithName("ConsumerGroup"),