Skip to content

Commit

Permalink
fix registration for served API
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed May 25, 2018
1 parent 1adcd4e commit ea22305
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servicecertsigner/v1alpha1/register.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package v1alpha1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
Expand All @@ -23,6 +24,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ServiceCertSignerOperatorConfig{},
&ServiceCertSignerOperatorConfigList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)

return nil
}

0 comments on commit ea22305

Please sign in to comment.