diff --git a/api/v1beta1/machinedeployment_types.go b/api/v1beta1/machinedeployment_types.go index 88d43370b9f1..13a023d07a63 100644 --- a/api/v1beta1/machinedeployment_types.go +++ b/api/v1beta1/machinedeployment_types.go @@ -152,8 +152,8 @@ type MachineDeploymentSpec struct { // MachineDeploymentStrategy describes how to replace existing machines // with new ones. type MachineDeploymentStrategy struct { - // Type of deployment. - // Default is RollingUpdate. + // Type of deployment. Allowed values are RollingUpdate and OnDelete. + // The default is RollingUpdate. // +kubebuilder:validation:Enum=RollingUpdate;OnDelete // +optional Type MachineDeploymentStrategyType `json:"type,omitempty"` diff --git a/config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml b/config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml index d97c3b08035d..026c7767ae77 100644 --- a/config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml +++ b/config/crd/bases/cluster.x-k8s.io_clusterclasses.yaml @@ -1254,7 +1254,8 @@ spec: x-kubernetes-int-or-string: true type: object type: - description: Type of deployment. Default is RollingUpdate. + description: Type of deployment. Allowed values are + RollingUpdate and OnDelete. The default is RollingUpdate. enum: - RollingUpdate - OnDelete diff --git a/config/crd/bases/cluster.x-k8s.io_clusters.yaml b/config/crd/bases/cluster.x-k8s.io_clusters.yaml index a6d245e9d8b9..f8bd0a4267b1 100644 --- a/config/crd/bases/cluster.x-k8s.io_clusters.yaml +++ b/config/crd/bases/cluster.x-k8s.io_clusters.yaml @@ -1078,7 +1078,9 @@ spec: x-kubernetes-int-or-string: true type: object type: - description: Type of deployment. Default is RollingUpdate. + description: Type of deployment. Allowed values + are RollingUpdate and OnDelete. The default is + RollingUpdate. enum: - RollingUpdate - OnDelete diff --git a/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml b/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml index ec78b4705dea..8abaa5ec1ff5 100644 --- a/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml +++ b/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml @@ -698,7 +698,8 @@ spec: x-kubernetes-int-or-string: true type: object type: - description: Type of deployment. Default is RollingUpdate. + description: Type of deployment. Allowed values are RollingUpdate + and OnDelete. The default is RollingUpdate. enum: - RollingUpdate - OnDelete