Skip to content

Commit e19bdca

Browse files
committed
fix: Replicas is not required
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent ac65648 commit e19bdca

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

infra/feast-operator/api/v1/featurestore_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ type FeatureStoreSpec struct {
8686
// Mutually exclusive with services.scaling.autoscaling.
8787
// +kubebuilder:default=1
8888
// +kubebuilder:validation:Minimum=1
89-
Replicas *int32 `json:"replicas"`
89+
Replicas *int32 `json:"replicas,omitempty"`
9090
}
9191

9292
// FeastProjectDir defines how to create the feast project directory.

infra/feast-operator/config/crd/bases/feast.dev_featurestores.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5699,7 +5699,6 @@ spec:
56995699
type: object
57005700
required:
57015701
- feastProject
5702-
- replicas
57035702
type: object
57045703
x-kubernetes-validations:
57055704
- message: replicas > 1 and services.scaling.autoscaling are mutually
@@ -11467,7 +11466,6 @@ spec:
1146711466
type: object
1146811467
required:
1146911468
- feastProject
11470-
- replicas
1147111469
type: object
1147211470
x-kubernetes-validations:
1147311471
- message: replicas > 1 and services.scaling.autoscaling are mutually

infra/feast-operator/dist/install.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5707,7 +5707,6 @@ spec:
57075707
type: object
57085708
required:
57095709
- feastProject
5710-
- replicas
57115710
type: object
57125711
x-kubernetes-validations:
57135712
- message: replicas > 1 and services.scaling.autoscaling are mutually
@@ -11475,7 +11474,6 @@ spec:
1147511474
type: object
1147611475
required:
1147711476
- feastProject
11478-
- replicas
1147911477
type: object
1148011478
x-kubernetes-validations:
1148111479
- message: replicas > 1 and services.scaling.autoscaling are mutually

0 commit comments

Comments
 (0)