From 87707782684df0deeb8d478159bc45b8812cf309 Mon Sep 17 00:00:00 2001 From: craig Date: Thu, 24 Oct 2024 11:38:30 +0100 Subject: [PATCH] add default duration of 30s Signed-off-by: craig rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED --- api/v1alpha1/dnsrecord_types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v1alpha1/dnsrecord_types.go b/api/v1alpha1/dnsrecord_types.go index 1173853..1dc7924 100644 --- a/api/v1alpha1/dnsrecord_types.go +++ b/api/v1alpha1/dnsrecord_types.go @@ -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.