Fix missing scheme in config group
@@ -5,6 +5,7 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
configv1 "github.com/openshift/api/config/v1"
+ configv1alpha1 "github.com/openshift/api/config/v1alpha1"
)
const (
@@ -12,7 +13,7 @@ const (
)
var (
- schemeBuilder = runtime.NewSchemeBuilder(configv1.Install)
+ schemeBuilder = runtime.NewSchemeBuilder(configv1.Install, configv1alpha1.Install)
// Install is a function which adds every version of this group to a scheme
Install = schemeBuilder.AddToScheme
)
