From b25e45f58845849cb3a2f8f004d8a328f8d32953 Mon Sep 17 00:00:00 2001 From: Matt Hagenbuch Date: Fri, 10 May 2024 11:25:04 -0400 Subject: [PATCH] Update apis/v1beta1/opentelemetrycollector_types.go --- apis/v1beta1/opentelemetrycollector_types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apis/v1beta1/opentelemetrycollector_types.go b/apis/v1beta1/opentelemetrycollector_types.go index 3b603868f6..7e14e3167c 100644 --- a/apis/v1beta1/opentelemetrycollector_types.go +++ b/apis/v1beta1/opentelemetrycollector_types.go @@ -98,6 +98,7 @@ type OpenTelemetryCollectorSpec struct { // Defaults to 3. The minimum value is 1. // +optional // +kubebuilder:default:=3 + // +kubebuilder:validation:Minimum:=1 ConfigVersions *int32 `json:"configVersions,omitempty"` // Ingress is used to specify how OpenTelemetry Collector is exposed. This // functionality is only available if one of the valid modes is set.