fix registration for served API
package v1alpha1
import (
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
@@ -23,6 +24,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ServiceCertSignerOperatorConfig{},
&ServiceCertSignerOperatorConfigList{},
)
+ metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
