File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,23 @@ import (
113
113
instascale " github.com/project-codeflare/instascale/pkg/config"
114
114
)
115
115
116
+ struct InstaScaleConfiguration {
117
+ // Enabled controls whether the InstaScale controller is started.
118
+ // It may defaults to true on platforms that InstaScale supports.
119
+ // Otherwise defaults to false.
120
+ Enabled *bool ` json:"enabled,omitempty"`
121
+
122
+ // The InstaScale controller configuration
123
+ instascale.InstaScaleConfiguration ` json:",inline,omitempty"`
124
+ }
125
+
116
126
struct CodeFlareOperatorConfiguration {
117
127
// The MCAD controller configuration
118
128
MCAD *mcad.MCADConfiguration ` json:"mcad,omitempty"`
119
129
120
130
// The InstaScale controller configuration
121
- InstaScale *instascale.InstaScaleConfiguration ` json:"instascale,omitempty"`
131
+ InstaScale *InstaScaleConfiguration ` json:"instascale,omitempty"`
132
+
122
133
// ClientConnection configures the connection to the cluster
123
134
ClientConnection *configv1alpha1.ClientConnectionConfiguration ` json:"clientConnection,omitempty"`
124
135
You can’t perform that action at this time.
0 commit comments