diff --git a/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml b/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml index 0ac4a02d1b0..0e354020c07 100644 --- a/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml +++ b/operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml @@ -1229,7 +1229,7 @@ spec: value is 5s. \n Currently the minimum allowed value is 1s and the maximum allowed value is 2147483647ms (24.85 days). Both are subject to change over time." - pattern: ^0|([0-9]+(\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+$ + pattern: ^(0|([0-9]+(\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+)$ type: string maxConnections: description: "maxConnections defines the maximum number of simultaneous diff --git a/operator/v1/types_ingress.go b/operator/v1/types_ingress.go index 6e296846585..a716254669b 100644 --- a/operator/v1/types_ingress.go +++ b/operator/v1/types_ingress.go @@ -1404,7 +1404,7 @@ type IngressControllerTuningOptions struct { // 2147483647ms (24.85 days). Both are subject to change over time. // // +kubebuilder:validation:Optional - // +kubebuilder:validation:Pattern=^0|([0-9]+(\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+$ + // +kubebuilder:validation:Pattern=^(0|([0-9]+(\.[0-9]+)?(ns|us|µs|μs|ms|s|m|h))+)$ // +kubebuilder:validation:Type:=string // +optional HealthCheckInterval *metav1.Duration `json:"healthCheckInterval,omitempty"`