diff --git a/apis/organization/v1/organization_types.go b/apis/organization/v1/organization_types.go index a7be0b72..30381c97 100644 --- a/apis/organization/v1/organization_types.go +++ b/apis/organization/v1/organization_types.go @@ -131,3 +131,7 @@ func (o *Organization) ToNamespace() *corev1.Namespace { ns.Annotations[DisplayNameKey] = o.Spec.DisplayName return ns } + +func init() { + SchemeBuilder.Register(&Organization{}, &OrganizationList{}) +}