@@ -78,8 +78,8 @@ type FeatureStoreServices struct {
7878 DeploymentStrategy * appsv1.DeploymentStrategy `json:"deploymentStrategy,omitempty"`
7979 // Disable the 'feast repo initialization' initContainer
8080 DisableInitContainers bool `json:"disableInitContainers,omitempty"`
81- // Volumes specifies the list of volumes to mount in the FeatureStore deployment.
82- // +optional
81+ // Volumes specifies the volumes to mount in the FeatureStore deployment. A corresponding `VolumeMount` should be added to whichever feast service(s) require access to said volume(s) .
82+ //+optional
8383 Volumes []corev1.Volume `json:"volumes,omitempty"`
8484}
8585
@@ -92,7 +92,11 @@ type OfflineStore struct {
9292 // Allowed values: "debug", "info", "warning", "error", "critical".
9393 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
9494 LogLevel string `json:"logLevel,omitempty"`
95-
95+ // VolumeMounts defines the list of volumes that should be mounted into the container.
96+ // This allows attaching persistent storage, config files, secrets, or other resources
97+ // required by the Feast components. Ensure that each volume mount has a corresponding
98+ // volume definition in the Volumes field.
99+ //+optional
96100 VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
97101}
98102
@@ -148,6 +152,11 @@ type OnlineStore struct {
148152 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
149153 LogLevel string `json:"logLevel,omitempty"`
150154
155+ // VolumeMounts defines the list of volumes that should be mounted into the container.
156+ // This allows attaching persistent storage, config files, secrets, or other resources
157+ // required by the Feast components. Ensure that each volume mount has a corresponding
158+ // volume definition in the Volumes field.
159+ //+optional
151160 VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
152161}
153162
@@ -205,6 +214,12 @@ type LocalRegistryConfig struct {
205214 // Allowed values: "debug", "info", "warning", "error", "critical".
206215 // +kubebuilder:validation:Enum=debug;info;warning;error;critical
207216 LogLevel string `json:"logLevel,omitempty"`
217+ // VolumeMounts defines the list of volumes that should be mounted into the container.
218+ // This allows attaching persistent storage, config files, secrets, or other resources
219+ // required by the Feast components. Ensure that each volume mount has a corresponding
220+ // volume definition in the Volumes field.
221+ //+optional
222+ VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
208223}
209224
210225// RegistryPersistence configures the persistence settings for the registry service
@@ -274,9 +289,8 @@ type PvcCreate struct {
274289// Registry configures the registry service. One selection is required. Local is the default setting.
275290// +kubebuilder:validation:XValidation:rule="[has(self.local), has(self.remote)].exists_one(c, c)",message="One selection required."
276291type Registry struct {
277- Local * LocalRegistryConfig `json:"local,omitempty"`
278- Remote * RemoteRegistryConfig `json:"remote,omitempty"`
279- VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
292+ Local * LocalRegistryConfig `json:"local,omitempty"`
293+ Remote * RemoteRegistryConfig `json:"remote,omitempty"`
280294}
281295
282296// RemoteRegistryConfig points to a remote feast registry server. When set, the operator will not deploy a registry for this FeatureStore CR.
0 commit comments