@@ -73,9 +73,10 @@ type FeatureStoreSpec struct {
7373
7474// FeatureStoreServices defines the desired feast services. An ephemeral registry is deployed by default.
7575type 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
7980 UI * ServerConfigs `json:"ui,omitempty"`
8081 DeploymentStrategy * appsv1.DeploymentStrategy `json:"deploymentStrategy,omitempty"`
8182 // Disable the 'feast repo initialization' initContainer
@@ -84,8 +85,9 @@ type FeatureStoreServices struct {
8485
8586// OfflineStore configures the deployed offline store service
8687type 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"`
8991}
9092
9193// OfflineStorePersistence configures the persistence settings for the offline store service
@@ -132,8 +134,9 @@ var ValidOfflineStoreDBStorePersistenceTypes = []string{
132134
133135// OnlineStore configures the deployed online store service
134136type 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"`
137140}
138141
139142// OnlineStorePersistence configures the persistence settings for the online store service
@@ -183,8 +186,9 @@ var ValidOnlineStoreDBStorePersistenceTypes = []string{
183186
184187// LocalRegistryConfig configures the deployed registry service
185188type 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"`
188192}
189193
190194// RegistryPersistence configures the persistence settings for the registry service
@@ -277,14 +281,14 @@ type FeatureStoreRef struct {
277281 Namespace string `json:"namespace,omitempty"`
278282}
279283
280- // ServerConfigs server-related configurations for a feast service
284+ // ServerConfigs creates a server for the feast service, with specified container configurations.
281285type ServerConfigs struct {
282286 ContainerConfigs `json:",inline"`
283287 TLS * TlsConfigs `json:"tls,omitempty"`
284288 // LogLevel sets the logging level for the server
285289 // Allowed values: "debug", "info", "warning", "error", "critical".
286290 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
287- LogLevel string `json:"logLevel,omitempty"`
291+ LogLevel * string `json:"logLevel,omitempty"`
288292}
289293
290294// ContainerConfigs k8s container settings for the server
0 commit comments