Skip to content

Commit

Permalink
Add SnippetFilter CRD (#2472)
Browse files Browse the repository at this point in the history
Problem: User wants to define a CRD for snippetsFilter to apply custom nginx configurations

Solution: Defined a CRD for snippetsFilter
  • Loading branch information
salonichf5 committed Oct 8, 2024
1 parent 40e5852 commit 0f2d400
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apis/v1alpha1/snippetsfilter_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ type Snippet struct {
Context NginxContext `json:"context"`

// Value is the NGINX configuration snippet.
<<<<<<< HEAD
// +kubebuilder:validation:MinLength=1
=======
>>>>>>> 88885187 (Add SnippetFilter CRD (#2472))
Value string `json:"value"`
}

Expand Down

0 comments on commit 0f2d400

Please sign in to comment.