Skip to content

Commit

Permalink
Add missing OpenShift Machine API to runtime scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
astefanutti authored and openshift-merge-robot committed Sep 26, 2023
1 parent 28ffc85 commit 99d2fc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import (
"sigs.k8s.io/yaml"

configv1 "github.com/openshift/api/config/v1"
machinev1beta1 "github.com/openshift/api/machine/v1beta1"

"github.com/project-codeflare/codeflare-operator/pkg/config"
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
Expand All @@ -63,9 +64,12 @@ var (

func init() {
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
// MCAD
utilruntime.Must(mcadv1beta1.AddToScheme(scheme))
utilruntime.Must(quotasubtreev1.AddToScheme(scheme))
// InstaScale
utilruntime.Must(configv1.Install(scheme))
utilruntime.Must(machinev1beta1.Install(scheme))
}

func main() {
Expand Down

0 comments on commit 99d2fc8

Please sign in to comment.