Skip to content

Commit

Permalink
Removing default value of FailedNodeStartupTimeout
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Shitrit <mshitrit@redhat.com>
  • Loading branch information
mshitrit committed Jun 29, 2021
1 parent f1e9ae5 commit e3d7784
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion pkg/apis/machine/v1beta1/machinehealthcheck_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit e3d7784

Please sign in to comment.