Skip to content

Commit

Permalink
add default duration of 30s
Browse files Browse the repository at this point in the history
Signed-off-by: craig <[email protected]>

rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
maleck13 committed Oct 24, 2024
1 parent 49adc7a commit 8770778
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/dnsrecord_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type HealthCheckSpec struct {
// +kubebuilder:validation:XValidation:rule="self in ['HTTP','HTTPS']",message="Only HTTP or HTTPS protocols are allowed"
Protocol Protocol `json:"protocol,omitempty"`
// Interval defines how frequently this probe should execute
// +default:5m
Interval metav1.Duration `json:"interval,omitempty"`
// AdditionalHeadersRef refers to a secret that contains extra headers to send in the probe request, this is primarily useful if an authentication
// token is required by the endpoint.
Expand Down

0 comments on commit 8770778

Please sign in to comment.