Skip to content

Commit 99d2fc8

Browse files
astefanuttiopenshift-merge-robot
authored andcommitted
Add missing OpenShift Machine API to runtime scheme
1 parent 28ffc85 commit 99d2fc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ import (
4949
"sigs.k8s.io/yaml"
5050

5151
configv1 "github.com/openshift/api/config/v1"
52+
machinev1beta1 "github.com/openshift/api/machine/v1beta1"
5253

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

6465
func init() {
6566
utilruntime.Must(clientgoscheme.AddToScheme(scheme))
67+
// MCAD
6668
utilruntime.Must(mcadv1beta1.AddToScheme(scheme))
6769
utilruntime.Must(quotasubtreev1.AddToScheme(scheme))
70+
// InstaScale
6871
utilruntime.Must(configv1.Install(scheme))
72+
utilruntime.Must(machinev1beta1.Install(scheme))
6973
}
7074

7175
func main() {

0 commit comments

Comments
 (0)