From 69807af634be6355234156edcbb7a34d74db4b61 Mon Sep 17 00:00:00 2001 From: gizquierdo Date: Tue, 26 Mar 2024 17:03:53 +0100 Subject: [PATCH] K8s-9372: Simple fix on delete policy comment --- pkg/apis/cluster/v1alpha1/machineset_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/cluster/v1alpha1/machineset_types.go b/pkg/apis/cluster/v1alpha1/machineset_types.go index a0cd4914a..6c16d6820 100644 --- a/pkg/apis/cluster/v1alpha1/machineset_types.go +++ b/pkg/apis/cluster/v1alpha1/machineset_types.go @@ -61,8 +61,8 @@ type MachineSetSpec struct { MinReadySeconds int32 `json:"minReadySeconds,omitempty"` // DeletePolicy defines the policy used to identify nodes to delete when downscaling. - // Defaults to "Custom". Valid values are "Random, "Newest", "Oldest" - // +kubebuilder:validation:Enum=Random,Newest,Oldest + // Defaults to "Default". Valid values are "Default", "Random, "Newest", "Oldest" + // +kubebuilder:validation:Enum=Default,Random,Newest,Oldest DeletePolicy string `json:"deletePolicy,omitempty"` // Selector is a label query over machines that should match the replica count.