From d8bd2c1bccaa1dd543d7003b9fa41933334a41d1 Mon Sep 17 00:00:00 2001 From: wangyelei Date: Thu, 26 Sep 2024 17:02:18 +0800 Subject: [PATCH] chore: fix kb start crash --- cmd/manager/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/manager/main.go b/cmd/manager/main.go index 0e1052b5c84..417d7057b04 100644 --- a/cmd/manager/main.go +++ b/cmd/manager/main.go @@ -55,6 +55,7 @@ import ( dpv1alpha1 "github.com/apecloud/kubeblocks/apis/dataprotection/v1alpha1" experimentalv1alpha1 "github.com/apecloud/kubeblocks/apis/experimental/v1alpha1" extensionsv1alpha1 "github.com/apecloud/kubeblocks/apis/extensions/v1alpha1" + opsv1alpha1 "github.com/apecloud/kubeblocks/apis/operations/v1alpha1" "github.com/apecloud/kubeblocks/apis/workloads/legacy" workloadsv1 "github.com/apecloud/kubeblocks/apis/workloads/v1" workloadsv1alpha1 "github.com/apecloud/kubeblocks/apis/workloads/v1alpha1" @@ -107,6 +108,7 @@ func init() { utilruntime.Must(appsv1alpha1.AddToScheme(scheme)) utilruntime.Must(appsv1beta1.AddToScheme(scheme)) utilruntime.Must(appsv1.AddToScheme(scheme)) + utilruntime.Must(opsv1alpha1.AddToScheme(scheme)) utilruntime.Must(dpv1alpha1.AddToScheme(scheme)) utilruntime.Must(snapshotv1.AddToScheme(scheme)) utilruntime.Must(snapshotv1beta1.AddToScheme(scheme))