From fcf5c026b54041cad343c0eae3779e9226b7af22 Mon Sep 17 00:00:00 2001 From: Shyamsundar Ranganathan Date: Wed, 25 Sep 2024 12:10:23 -0400 Subject: [PATCH] Add ClusterClaim to the ramen-dr-cluster reconciler scheme This is required as the dr-cluster DRClusterConfig reconciler manages cluster claims. This was missed out in commit 91e5a5bad49ef0b28d6de336d79951e19a98c54d Signed-off-by: Shyamsundar Ranganathan --- cmd/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/main.go b/cmd/main.go index 4f4709828..406cb3dc4 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -27,6 +27,7 @@ import ( utilruntime "k8s.io/apimachinery/pkg/util/runtime" clientgoscheme "k8s.io/client-go/kubernetes/scheme" ocmv1 "open-cluster-management.io/api/cluster/v1" + clusterv1alpha1 "open-cluster-management.io/api/cluster/v1alpha1" clrapiv1beta1 "open-cluster-management.io/api/cluster/v1beta1" ocmworkv1 "open-cluster-management.io/api/work/v1" cpcv1 "open-cluster-management.io/config-policy-controller/api/v1" @@ -119,6 +120,7 @@ func configureController(ramenConfig *ramendrv1alpha1.RamenConfig) error { utilruntime.Must(groupsnapv1alpha1.AddToScheme(scheme)) utilruntime.Must(recipe.AddToScheme(scheme)) utilruntime.Must(apiextensions.AddToScheme(scheme)) + utilruntime.Must(clusterv1alpha1.AddToScheme(scheme)) } return nil