Skip to content

Commit 5939637

Browse files
authored
Merge pull request #8832 from jakubin/ProvisioningStrategyString
Making CapacityBuffer ProvisioningStrategy a string (not enum)
2 parents beda56b + 7b9b8db commit 5939637

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ type ResourceList map[ResourceName]resource.Quantity
100100
type CapacityBufferSpec struct {
101101
// ProvisioningStrategy defines how the buffer is utilized.
102102
// "buffer.x-k8s.io/active-capacity" is the default strategy, where the buffer actively scales up the cluster by creating placeholder pods.
103-
// +kubebuilder:validation:Enum=buffer.x-k8s.io/active-capacity
104103
// +kubebuilder:default="buffer.x-k8s.io/active-capacity"
105104
// +optional
106105
ProvisioningStrategy *string `json:"provisioningStrategy,omitempty" protobuf:"bytes,1,opt,name=provisioningStrategy"`

cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ spec:
102102
description: |-
103103
ProvisioningStrategy defines how the buffer is utilized.
104104
"buffer.x-k8s.io/active-capacity" is the default strategy, where the buffer actively scales up the cluster by creating placeholder pods.
105-
enum:
106-
- buffer.x-k8s.io/active-capacity
107105
type: string
108106
replicas:
109107
description: |-

0 commit comments

Comments
 (0)