From e3d7784a0ac8aededcf47c107e357f7d895f4484 Mon Sep 17 00:00:00 2001 From: Michael Shitrit Date: Tue, 29 Jun 2021 11:07:57 +0300 Subject: [PATCH] Removing default value of FailedNodeStartupTimeout Signed-off-by: Michael Shitrit --- .../0000_30_machine-api-operator_07_machinehealthcheck.crd.yaml | 1 - pkg/apis/machine/v1beta1/machinehealthcheck_types.go | 1 - 2 files changed, 2 deletions(-) diff --git a/install/0000_30_machine-api-operator_07_machinehealthcheck.crd.yaml b/install/0000_30_machine-api-operator_07_machinehealthcheck.crd.yaml index fc0da7cef2..f5b1174481 100644 --- a/install/0000_30_machine-api-operator_07_machinehealthcheck.crd.yaml +++ b/install/0000_30_machine-api-operator_07_machinehealthcheck.crd.yaml @@ -56,7 +56,6 @@ spec: description: Specification of machine health check policy properties: failedNodeStartupTimeout: - default: 48h description: Failed Machines that are older than this value and are without a nodeRef or a providerID will be considered to have passed the time period allocated for a manual fix and will be remediated. diff --git a/pkg/apis/machine/v1beta1/machinehealthcheck_types.go b/pkg/apis/machine/v1beta1/machinehealthcheck_types.go index b66fab6d0c..d6e972419b 100644 --- a/pkg/apis/machine/v1beta1/machinehealthcheck_types.go +++ b/pkg/apis/machine/v1beta1/machinehealthcheck_types.go @@ -89,7 +89,6 @@ type MachineHealthCheckSpec struct { // fraction and a unit suffix, eg "300ms", "1.5h" or "2h45m". // Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". // +optional - // +kubebuilder:default:="48h" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$" // +kubebuilder:validation:Type:=string FailedNodeStartupTimeout metav1.Duration `json:"failedNodeStartupTimeout,omitempty"`