diff --git a/k8s/helm-charts/seldon-core-v2-crds/templates/seldon-v2-crds.yaml b/k8s/helm-charts/seldon-core-v2-crds/templates/seldon-v2-crds.yaml index 9dc8142fa3..e0d2387acf 100644 --- a/k8s/helm-charts/seldon-core-v2-crds/templates/seldon-v2-crds.yaml +++ b/k8s/helm-charts/seldon-core-v2-crds/templates/seldon-v2-crds.yaml @@ -343,8 +343,6 @@ spec: type: integer selector: type: string - required: - - selector type: object type: object served: true diff --git a/k8s/yaml/crds.yaml b/k8s/yaml/crds.yaml index f0222aa644..b22ce50485 100644 --- a/k8s/yaml/crds.yaml +++ b/k8s/yaml/crds.yaml @@ -346,8 +346,6 @@ spec: type: integer selector: type: string - required: - - selector type: object type: object served: true diff --git a/operator/apis/mlops/v1alpha1/model_types.go b/operator/apis/mlops/v1alpha1/model_types.go index 0340497b20..2d51d2a67b 100644 --- a/operator/apis/mlops/v1alpha1/model_types.go +++ b/operator/apis/mlops/v1alpha1/model_types.go @@ -107,7 +107,7 @@ type InferenceArtifactSpec struct { type ModelStatus struct { // Total number of replicas targeted by this model Replicas int32 `json:"replicas,omitempty"` - Selector string `json:"selector"` + Selector string `json:"selector,omitempty"` duckv1.Status `json:",inline"` } diff --git a/operator/config/crd/bases/mlops.seldon.io_models.yaml b/operator/config/crd/bases/mlops.seldon.io_models.yaml index 72b2825f96..4b21b07bcc 100644 --- a/operator/config/crd/bases/mlops.seldon.io_models.yaml +++ b/operator/config/crd/bases/mlops.seldon.io_models.yaml @@ -195,8 +195,6 @@ spec: type: integer selector: type: string - required: - - selector type: object type: object served: true