Skip to content

Commit

Permalink
Remove unnecessary minLength
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-osborn committed Sep 9, 2024
1 parent ef188b4 commit 69f8ddc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apis/v1alpha1/snippetsfilter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/gateway.nginx.org_snippetsfilters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ spec:
- http
- http.server
- http.server.location
minLength: 4
type: string
value:
description: Value is the NGINX configuration snippet.
Expand Down

0 comments on commit 69f8ddc

Please sign in to comment.