@@ -32,9 +32,7 @@ type CodeFlareOperatorConfiguration struct {
3232 ControllerManager `json:",inline"`
3333
3434 // The MCAD controller configuration
35- // MCADEnabled defaults to false
36- MCADEnabled * bool `json:"mcadEnabled,omitempty"`
37- MCAD * mcad.MCADConfiguration `json:"mcad,omitempty"`
35+ MCAD * MCADConfiguration `json:"mcad,omitempty"`
3836
3937 // The InstaScale controller configuration
4038 InstaScale * InstaScaleConfiguration `json:"instascale,omitempty"`
@@ -46,6 +44,15 @@ type KubeRayConfiguration struct {
4644 RayDashboardOAuthEnabled * bool `json:"rayDashboardOAuthEnabled,omitempty"`
4745}
4846
47+ type MCADConfiguration struct {
48+ // enabled controls whether the MCAD controller is started.
49+ // It defaults to false.
50+ Enabled * bool `json:"enabled,omitempty"`
51+
52+ // The InstaScale controller configuration
53+ mcad.MCADConfiguration `json:",inline,omitempty"`
54+ }
55+
4956type InstaScaleConfiguration struct {
5057 // enabled controls whether the InstaScale controller is started.
5158 // It may default to true on platforms that InstaScale supports.
0 commit comments