You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -146,7 +146,7 @@ type OnlineStorePersistence struct {
146
146
// OnlineStoreFilePersistence configures the file-based persistence for the offline store service
147
147
// +kubebuilder:validation:XValidation:rule="(!has(self.pvc) && has(self.path)) ? self.path.startsWith('/') : true",message="Ephemeral stores must have absolute paths."
148
148
// +kubebuilder:validation:XValidation:rule="(has(self.pvc) && has(self.path)) ? !self.path.startsWith('/') : true",message="PVC path must be a file name only, with no slashes."
149
-
// +kubebuilder:validation:XValidation:rule="has(self.path) && !self.path.startsWith('s3://') && !self.path.startsWith('gs://')",message="Online store does not support S3 or GS buckets."
149
+
// +kubebuilder:validation:XValidation:rule="has(self.path) ? !(self.path.startsWith('s3://') || self.path.startsWith('gs://')) : true",message="Online store does not support S3 or GS buckets."
150
150
typeOnlineStoreFilePersistencestruct {
151
151
Pathstring`json:"path,omitempty"`
152
152
PvcConfig*PvcConfig`json:"pvc,omitempty"`
@@ -235,11 +235,11 @@ type PvcConfig struct {
235
235
Create*PvcCreate`json:"create,omitempty"`
236
236
// MountPath within the container at which the volume should be mounted.
237
237
// Must start by "/" and cannot contain ':'.
238
-
MountPathstring`json:"mountPath,omitempty"`
238
+
MountPathstring`json:"mountPath"`
239
239
}
240
240
241
241
// PvcCreate defines the immutable settings to create a new PVC mounted at the given path.
242
-
// The PVC name is the same as the associated deployment name.
242
+
// The PVC name is the same as the associated deployment & feast service name.
243
243
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="PvcCreate is immutable"
244
244
typePvcCreatestruct {
245
245
// AccessModes k8s persistent volume access modes. Defaults to ["ReadWriteOnce"].
@@ -292,14 +292,6 @@ type DefaultConfigs struct {
292
292
Image*string`json:"image,omitempty"`
293
293
}
294
294
295
-
// StoreServiceConfigs k8s deployment settings
296
-
typeStoreServiceConfigsstruct {
297
-
// Replicas determines the number of pods for the feast service.
298
-
// When Replicas > 1, persistence is recommended.
299
-
Replicas*int32`json:"replicas,omitempty"`
300
-
ServiceConfigs`json:",inline"`
301
-
}
302
-
303
295
// OptionalConfigs k8s container settings that are optional
0 commit comments