diff --git a/cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go b/cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go index b441952dcf5..da6bc01e088 100644 --- a/cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go +++ b/cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go @@ -100,7 +100,6 @@ type ResourceList map[ResourceName]resource.Quantity type CapacityBufferSpec struct { // ProvisioningStrategy defines how the buffer is utilized. // "buffer.x-k8s.io/active-capacity" is the default strategy, where the buffer actively scales up the cluster by creating placeholder pods. - // +kubebuilder:validation:Enum=buffer.x-k8s.io/active-capacity // +kubebuilder:default="buffer.x-k8s.io/active-capacity" // +optional ProvisioningStrategy *string `json:"provisioningStrategy,omitempty" protobuf:"bytes,1,opt,name=provisioningStrategy"` diff --git a/cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml b/cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml index b1fb4f445ca..78e4627e8ad 100644 --- a/cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml +++ b/cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml @@ -102,8 +102,6 @@ spec: description: |- ProvisioningStrategy defines how the buffer is utilized. "buffer.x-k8s.io/active-capacity" is the default strategy, where the buffer actively scales up the cluster by creating placeholder pods. - enum: - - buffer.x-k8s.io/active-capacity type: string replicas: description: |-