diff --git a/cmd/mcs-controller-manager/main.go b/cmd/mcs-controller-manager/main.go index 02b3634a..96d05505 100644 --- a/cmd/mcs-controller-manager/main.go +++ b/cmd/mcs-controller-manager/main.go @@ -65,6 +65,7 @@ func init() { utilruntime.Must(clientgoscheme.AddToScheme(scheme)) utilruntime.Must(fleetnetv1alpha1.AddToScheme(scheme)) utilruntime.Must(fleetv1alpha1.AddToScheme(scheme)) + utilruntime.Must(clusterv1beta1.AddToScheme(scheme)) //+kubebuilder:scaffold:scheme } diff --git a/cmd/member-net-controller-manager/main.go b/cmd/member-net-controller-manager/main.go index 4e3235fb..8faca1a1 100644 --- a/cmd/member-net-controller-manager/main.go +++ b/cmd/member-net-controller-manager/main.go @@ -71,6 +71,7 @@ func init() { utilruntime.Must(clientgoscheme.AddToScheme(scheme)) utilruntime.Must(fleetnetv1alpha1.AddToScheme(scheme)) utilruntime.Must(fleetv1alpha1.AddToScheme(scheme)) + utilruntime.Must(clusterv1beta1.AddToScheme(scheme)) //+kubebuilder:scaffold:scheme }