Skip to content

Commit 022445d

Browse files
authored
Merge pull request #5 from weaveworks/register-clusters
Register the CAPI cluster schema.
2 parents bc01209 + 20a2045 commit 022445d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import (
3333

3434
capiv1alpha1 "github.com/weaveworks/cluster-bootstrap-controller/api/v1alpha1"
3535
"github.com/weaveworks/cluster-bootstrap-controller/controllers"
36+
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
3637
//+kubebuilder:scaffold:imports
3738
)
3839

@@ -45,6 +46,7 @@ func init() {
4546
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
4647

4748
utilruntime.Must(capiv1alpha1.AddToScheme(scheme))
49+
utilruntime.Must(clusterv1.AddToScheme(scheme))
4850
//+kubebuilder:scaffold:scheme
4951
}
5052

0 commit comments

Comments
 (0)