@@ -73,9 +73,10 @@ type FeatureStoreSpec struct {
73
73
74
74
// FeatureStoreServices defines the desired feast services. An ephemeral registry is deployed by default.
75
75
type FeatureStoreServices struct {
76
- OfflineStore * OfflineStore `json:"offlineStore,omitempty"`
77
- OnlineStore * OnlineStore `json:"onlineStore,omitempty"`
78
- Registry * Registry `json:"registry,omitempty"`
76
+ OfflineStore * OfflineStore `json:"offlineStore,omitempty"`
77
+ OnlineStore * OnlineStore `json:"onlineStore,omitempty"`
78
+ Registry * Registry `json:"registry,omitempty"`
79
+ // Creates a UI server container
79
80
UI * ServerConfigs `json:"ui,omitempty"`
80
81
DeploymentStrategy * appsv1.DeploymentStrategy `json:"deploymentStrategy,omitempty"`
81
82
// Disable the 'feast repo initialization' initContainer
@@ -84,8 +85,9 @@ type FeatureStoreServices struct {
84
85
85
86
// OfflineStore configures the deployed offline store service
86
87
type OfflineStore struct {
87
- ServerConfigs `json:",inline"`
88
- Persistence * OfflineStorePersistence `json:"persistence,omitempty"`
88
+ // Creates a remote offline server container
89
+ Server * ServerConfigs `json:"server,omitempty"`
90
+ Persistence * OfflineStorePersistence `json:"persistence,omitempty"`
89
91
}
90
92
91
93
// OfflineStorePersistence configures the persistence settings for the offline store service
@@ -132,8 +134,9 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
132
134
133
135
// OnlineStore configures the deployed online store service
134
136
type OnlineStore struct {
135
- ServerConfigs `json:",inline"`
136
- Persistence * OnlineStorePersistence `json:"persistence,omitempty"`
137
+ // Creates a feature server container
138
+ Server * ServerConfigs `json:"server,omitempty"`
139
+ Persistence * OnlineStorePersistence `json:"persistence,omitempty"`
137
140
}
138
141
139
142
// OnlineStorePersistence configures the persistence settings for the online store service
@@ -183,8 +186,9 @@ var ValidOnlineStoreDBStorePersistenceTypes = []string{
183
186
184
187
// LocalRegistryConfig configures the deployed registry service
185
188
type LocalRegistryConfig struct {
186
- ServerConfigs `json:",inline"`
187
- Persistence * RegistryPersistence `json:"persistence,omitempty"`
189
+ // Creates a registry server container
190
+ Server * ServerConfigs `json:"server,omitempty"`
191
+ Persistence * RegistryPersistence `json:"persistence,omitempty"`
188
192
}
189
193
190
194
// RegistryPersistence configures the persistence settings for the registry service
@@ -277,14 +281,14 @@ type FeatureStoreRef struct {
277
281
Namespace string `json:"namespace,omitempty"`
278
282
}
279
283
280
- // ServerConfigs server-related configurations for a feast service
284
+ // ServerConfigs creates a server for the feast service, with specified container configurations.
281
285
type ServerConfigs struct {
282
286
ContainerConfigs `json:",inline"`
283
287
TLS * TlsConfigs `json:"tls,omitempty"`
284
288
// LogLevel sets the logging level for the server
285
289
// Allowed values: "debug", "info", "warning", "error", "critical".
286
290
// +kubebuilder:validation:Enum=debug;info;warning;error;critical
287
- LogLevel string `json:"logLevel,omitempty"`
291
+ LogLevel * string `json:"logLevel,omitempty"`
288
292
}
289
293
290
294
// ContainerConfigs k8s container settings for the server
0 commit comments