fix type registration for templates
package v1
import (
- corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
@@ -37,7 +36,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&TemplateInstanceList{},
&BrokerTemplateInstance{},
&BrokerTemplateInstanceList{},
- &corev1.List{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
