From 37fb2e8c4be1e8253fe1496b731ee5a6083d2151 Mon Sep 17 00:00:00 2001 From: melserngawy Date: Wed, 29 May 2024 14:39:42 -0400 Subject: [PATCH] Fix autoRepair default value Signed-off-by: melserngawy --- .../infrastructure.cluster.x-k8s.io_rosamachinepools.yaml | 4 ++-- exp/api/v1beta2/rosamachinepool_types.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_rosamachinepools.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_rosamachinepools.yaml index fc25c3bb19..e86bba2bea 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_rosamachinepools.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_rosamachinepools.yaml @@ -66,10 +66,10 @@ spec: underlying EC2 instances associated with this machine pool. type: object autoRepair: - default: false + default: true description: |- AutoRepair specifies whether health checks should be enabled for machines - in the NodePool. The default is false. + in the NodePool. The default is true. type: boolean autoscaling: description: |- diff --git a/exp/api/v1beta2/rosamachinepool_types.go b/exp/api/v1beta2/rosamachinepool_types.go index 8db3d5a380..bdfd551cf4 100644 --- a/exp/api/v1beta2/rosamachinepool_types.go +++ b/exp/api/v1beta2/rosamachinepool_types.go @@ -65,8 +65,8 @@ type RosaMachinePoolSpec struct { AdditionalTags infrav1.Tags `json:"additionalTags,omitempty"` // AutoRepair specifies whether health checks should be enabled for machines - // in the NodePool. The default is false. - // +kubebuilder:default=false + // in the NodePool. The default is true. + // +kubebuilder:default=true // +optional AutoRepair bool `json:"autoRepair,omitempty"`