From 69f8ddc7cdeee20b280581c99199c10fc0baa1ad Mon Sep 17 00:00:00 2001 From: Kate Osborn Date: Mon, 9 Sep 2024 09:39:04 -0600 Subject: [PATCH] Remove unnecessary minLength --- apis/v1alpha1/snippetsfilter_types.go | 1 - config/crd/bases/gateway.nginx.org_snippetsfilters.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/apis/v1alpha1/snippetsfilter_types.go b/apis/v1alpha1/snippetsfilter_types.go index 3069f7df4c..81b1b7e134 100644 --- a/apis/v1alpha1/snippetsfilter_types.go +++ b/apis/v1alpha1/snippetsfilter_types.go @@ -58,7 +58,6 @@ type Snippet struct { // NginxContext represents the NGINX configuration context. // // +kubebuilder:validation:Enum=main;http;http.server;http.server.location -// +kubebuilder:validation:MinLength=4 type NginxContext string const ( diff --git a/config/crd/bases/gateway.nginx.org_snippetsfilters.yaml b/config/crd/bases/gateway.nginx.org_snippetsfilters.yaml index 9d9adb76ce..2d8f01c554 100644 --- a/config/crd/bases/gateway.nginx.org_snippetsfilters.yaml +++ b/config/crd/bases/gateway.nginx.org_snippetsfilters.yaml @@ -65,7 +65,6 @@ spec: - http - http.server - http.server.location - minLength: 4 type: string value: description: Value is the NGINX configuration snippet.